Gets the membership user in the collection referenced by the specified user name.

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 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: VGMembershipUser
a VGMembershipUser object representing the user.

Exceptions

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

See Also