Click or drag to resize

VGMembershipInstanceUpdateUser Method

Updates the repository with the information for the specified user.

Namespace:  Novalys.VisualGuard.Security.Membership
Assembly:  Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.1.831.19 (2019.1.0831.19)
Syntax
public void UpdateUser(
	VGMembershipUser user
)

Parameters

user
Type: Novalys.VisualGuard.Security.MembershipVGMembershipUser
A VGMembershipUser object that represents the user to be updated and the updated information for the user.
Exceptions
ExceptionCondition
ArgumentNullExceptionuser is null.
ArgumentExceptionThe 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
SecurityExceptionThe 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.
InvalidOperationExceptionThe 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.
See Also