Updates the repository with the information for the specified user.
Namespace: Novalys.VisualGuard.Security.MembershipAssembly: 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
Exception | Condition |
---|---|
System..::..ArgumentNullException | user is null. |
System..::..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 |
System.Security..::..SecurityException | The 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..::..InvalidOperationException | The 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. |