IUserDataSourceGetUserRoles Method |
Get list of user roles
Namespace: ArtDatabanken.Data.DataSourceAssembly: ArtDatabanken.Data (in ArtDatabanken.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax RoleList GetUserRoles(
IUserContext userContext,
int userId,
string applicationIdentifier
)
Function GetUserRoles (
userContext As IUserContext,
userId As Integer,
applicationIdentifier As String
) As RoleList
RoleList^ GetUserRoles(
IUserContext^ userContext,
int userId,
String^ applicationIdentifier
)
abstract GetUserRoles :
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 the application.
Return Value
Type:
RoleListList of roles.
See Also