Visual Guard Class Library Documentation

VGMembershipInstance.UpdateUser Method 

Updates the repository with the information for the specified user.

public void UpdateUser(
   VGMembershipUser user
);

Parameters

user
A VGMembershipUser object that represents the user to be updated and the updated information for the user.

Exceptions

Exception Type Condition
ArgumentNullException user is null.
ArgumentException The 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
SecurityException The current user has not 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.

See Also

VGMembershipInstance Class | Novalys.VisualGuard.Security.Membership Namespace