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: 3.2.912.1 (3.2.912.01)

Syntax

C#
public VGMembershipUser this[
	string name,
	VGAuthenticationMode authenticationMode
] { get; }
Visual Basic (Declaration)
Public ReadOnly Default Property Item ( _
	name As String, _
	authenticationMode As VGAuthenticationMode _
) As VGMembershipUser

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

a VGMembershipUser object representing the user.

Exceptions

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

See Also