Gets the membership user in the collection referenced by the specified user name.
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 VGMembershipUser this[ string name, VGAuthenticationMode authenticationMode ] { get; } |
Visual Basic |
---|
Public ReadOnly Default Property Item ( name As String, authenticationMode As VGAuthenticationMode ) As VGMembershipUser Get |
Parameters
- name
- Type: System..::..String
The Username of the VGMembershipUser to retrieve from the collection.
- authenticationMode
- Type: Novalys.VisualGuard.Security..::..VGAuthenticationMode
the mode of authentication of the user.
Return Value
Type: VGMembershipUsera VGMembershipUser object representing the user.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentException | The authentication mode cannot be a combination of several modes. |