Click or drag to resize
IUserDataSourceGetAuthorities Method (IUserContext, IRole, Int32, String)
Get all authorities within a role that is connected to specified application and having specified authority identifier.

Namespace: ArtDatabanken.Data.DataSource
Assembly: ArtDatabanken.Data (in ArtDatabanken.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
AuthorityList GetAuthorities(
	IUserContext userContext,
	IRole role,
	int applicationId,
	string authorityIdentifier
)

Parameters

userContext
Type: ArtDatabanken.DataIUserContext
User context.
role
Type: ArtDatabanken.DataIRole
Role.
applicationId
Type: SystemInt32
Application Id.
authorityIdentifier
Type: SystemString
Authority identifier.

Return Value

Type: AuthorityList
List of requested authorities.
See Also