Click or drag to resize
MembershipActivityLoggerLogRegistration Method

Note: This API is now obsolete.

Logs registration activity.

Namespace: CMS.Activities.Loggers
Assembly: CMS.Activities.Loggers (in CMS.Activities.Loggers.dll) Version: 12.0.0
Syntax
C#
[ObsoleteAttribute("Use CMS.Core.Service.Resolve<CMS.Activities.Loggers.IMembershipActivityLogger>().LogLogin(string, CMS.Base.ITreeNode, bool) instead.")]
public static void LogRegistration(
	string userName,
	ITreeNode currentDocument = null,
	bool checkViewModel = true
)

Parameters

userName
Type: SystemString
User name of current user
currentDocument (Optional)
Type: CMS.BaseITreeNode
Current document tree representation, for MVC should be null
checkViewModel (Optional)
Type: SystemBoolean
True if activities should not be logged in administration
See Also