updates a user

Namespace: DotNetNuke.Entities.Users
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static void UpdateUser(
	int portalId,
	UserInfo user,
	bool loggedAction,
	bool sendNotification
)
Visual Basic
Public Shared Sub UpdateUser ( 
	portalId As Integer,
	user As UserInfo,
	loggedAction As Boolean,
	sendNotification As Boolean
)

Parameters

portalId
Type: System..::..Int32
the portalid of the user
user
Type: DotNetNuke.Entities.Users..::..UserInfo
the user object
loggedAction
Type: System..::..Boolean
whether or not the update calls the eventlog - the eventlogtype must still be enabled for logging to occur
sendNotification
Type: System..::..Boolean
Whether to send notification to the user about the update (i.e. a notification if the user was approved).

Remarks