Click or drag to resize
IUserManagerGetRolesByUser Method
Get roles related to specified user. If application is specified only those roles that are related to the application are returned.

Namespace: ArtDatabanken.Data
Assembly: ArtDatabanken.Data (in ArtDatabanken.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
RoleList GetRolesByUser(
	IUserContext userContext,
	int userId,
	string applicationIdentifier
)

Parameters

userContext
Type: ArtDatabanken.DataIUserContext
User context.
userId
Type: SystemInt32
User id.
applicationIdentifier
Type: SystemString
String that identifies an application.

Return Value

Type: RoleList
Roles related to specified user.
See Also