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: 3.2.912.1 (3.2.912.01)
Syntax
| C# |
|---|
public void Remove( string name, VGAuthenticationMode authenticationMode ) |
| Visual Basic (Declaration) |
|---|
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. |