Click or drag to resize
IMembershipActivityLoggerLogRegistration Method (String, ITreeNode, Boolean)
Logs user registration activity for given user.

Namespace: CMS.Activities.Loggers
Assembly: CMS.Activities.Loggers (in CMS.Activities.Loggers.dll) Version: 12.0.0
Syntax
C#
void LogRegistration(
	string userName,
	ITreeNode currentDocument,
	bool checkViewModel
)

Parameters

userName
Type: SystemString
User name of the registered user.
currentDocument
Type: CMS.BaseITreeNode
Current document tree representation, for MVC should be null
checkViewModel
Type: SystemBoolean
True if activities should not be logged in administration
Remarks
This method should be called whenever the user is registered to ensure logging of correct ActivityInfo.
See Also