Click or drag to resize

UserContextBuildProfileRolesCollection Method

Returns a NameValueCollection of the profile/roles map including all potential roles in the database. This collection can be used to provide the set of valid roles to Authenticate(String, String, NameValueCollection, Int64) when validating a user.

Namespace:  NetQuarry.Security
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static NameValueCollection BuildProfileRolesCollection(
	IAppContext context
)

Parameters

context
Type: NetQuarryIAppContext
The application context.

Return Value

Type: NameValueCollection
A NameValueCollection mapping Profile to Role Name.
See Also