Updates information about a user in the Active Directory data store.
Namespace: Novalys.VisualGuard.Security.WebFormAssembly: Novalys.VisualGuard.Security.WebForm (in Novalys.VisualGuard.Security.WebForm.dll) Version: 2017.0.101.17 (2017.0.101.17)
Syntax
C# |
---|
public override void UpdateUser( MembershipUser user ) |
Visual Basic |
---|
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
Exception | Condition |
---|---|
System.Configuration.Provider..::..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. |
System..::..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. |
System..::..ArgumentNullException | user is null.- or -The RequiresUniqueEmail property is true but the email address from the supplied MembershipUser instance is null. |