Visual Guard Class Library Documentation

VGMemberShipProvider.UpdateUser Method 

Updates information about a user in the Active Directory data store.

public override void UpdateUser(
   MembershipUser user
);

Parameters

user
A MembershipUser instance representing the user to update and the updated information for the user.

Exceptions

Exception Type Condition
ProviderException The specified user is not found in the Visual Guard repository.

- or -

The RequiresUniqueEmail property is true, and the new value of the Email property duplicates an existing e-mail address.
ArgumentException The RequiresUniqueEmail property is true and the Email property is empty after trimming.

- or -

The Email property exceeds 64 characters.

- or -

The Comment property exceeds 256 characters.
ArgumentNullException user is null.- or -The RequiresUniqueEmail property is true but the email address from the supplied MembershipUser instance is null.

See Also

VGMemberShipProvider Class | Novalys.VisualGuard.Security.WebForm Namespace