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

Namespace:  Novalys.VisualGuard.Security.WebForm
Assembly:  Novalys.VisualGuard.Security.WebForm (in Novalys.VisualGuard.Security.WebForm.dll) Version: 3.2.912.1 (3.2.912.01)

Syntax

C#
public override void UpdateUser(
	MembershipUser user
)
Visual Basic (Declaration)
Public Overrides Sub UpdateUser ( _
	user As MembershipUser _
)

Parameters

user
Type: System.Web.Security..::.MembershipUser
A MembershipUser instance representing the user to update and the updated information for the user.

Exceptions

ExceptionCondition
System.Configuration.Provider..::.ProviderExceptionThe 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.
System..::.ArgumentExceptionThe 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.
System..::.ArgumentNullExceptionuser is null.- or -The RequiresUniqueEmail property is true but the email address from the supplied MembershipUser instance is null.

See Also