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.DataAssembly: ArtDatabanken.Data (in ArtDatabanken.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax RoleList GetRolesByUser(
IUserContext userContext,
int userId,
string applicationIdentifier
)
Function GetRolesByUser (
userContext As IUserContext,
userId As Integer,
applicationIdentifier As String
) As RoleList
RoleList^ GetRolesByUser(
IUserContext^ userContext,
int userId,
String^ applicationIdentifier
)
abstract GetRolesByUser :
userContext : IUserContext *
userId : int *
applicationIdentifier : string -> RoleList
Parameters
- userContext
- Type: ArtDatabanken.DataIUserContext
User context. - userId
- Type: SystemInt32
User id. - applicationIdentifier
- Type: SystemString
String that identifies an application.
Return Value
Type:
RoleListRoles related to specified user.
See Also