Removes the membership user object with the specified user name from the collection.

Namespace: Novalys.VisualGuard.Security.Membership
Assembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2016.0.105.16 (2016.0.105.16)

Syntax

C#
public void Remove(
	string name,
	VGAuthenticationMode authenticationMode
)
Visual Basic
Public Sub Remove ( 
	name As String,
	authenticationMode As VGAuthenticationMode
)

Parameters

name
Type: System..::..String
The user name of the VGMembershipUser object to remove from the collection.
authenticationMode
Type: Novalys.VisualGuard.Security..::..VGAuthenticationMode
A VGAuthenticationMode value indicating the mode of authentication of the user.

Exceptions

ExceptionCondition
System..::..ArgumentExceptionThe authentication modes cannot be a combination of several modes.

See Also