Updates the repository with the information for the specified user.

Namespace: Novalys.VisualGuard.Security.Membership
Assembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2016.0.105.16 (2016.0.105.16)

Syntax

C#
public void UpdateUser(
	VGMembershipUser user
)
Visual Basic
Public Sub UpdateUser ( 
	user As VGMembershipUser
)

Parameters

user
Type: Novalys.VisualGuard.Security.Membership..::..VGMembershipUser
A VGMembershipUser object that represents the user to be updated and the updated information for the user.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionuser is null.
System..::..ArgumentExceptionThe RequiresUniqueEmail property is set to true and the email is not unique or is empty or is longer than 64 characters.

-or-

the comment is longer than 1024 characters
System.Security..::..SecurityExceptionThe current user does not have enough privileges to use Membership API. The Membership access level of the application must be sufficient to allows this action or the 'Membership Manager' role must be granted to the user by using the Visual Guard console.
System..::..InvalidOperationExceptionThe Visual Guard Security Runtime used to write modification to the repository is not the same as the runtime used to read the information about the user.

See Also