Removes the membership user object with the specified user name from the collection.
Namespace: Novalys.VisualGuard.Security.MembershipAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2017.0.101.17 (2017.0.101.17)
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
Exception | Condition |
---|---|
System..::..ArgumentException | The authentication modes cannot be a combination of several modes. |