IUserDataSourceGetOrganizationRoles Method |
GetOrganizationRoles
Namespace: ArtDatabanken.Data.DataSourceAssembly: ArtDatabanken.Data (in ArtDatabanken.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax RoleList GetOrganizationRoles(
IUserContext userContext,
int organizationId
)
Function GetOrganizationRoles (
userContext As IUserContext,
organizationId As Integer
) As RoleList
RoleList^ GetOrganizationRoles(
IUserContext^ userContext,
int organizationId
)
abstract GetOrganizationRoles :
userContext : IUserContext *
organizationId : int -> RoleList
Parameters
- userContext
- Type: ArtDatabanken.DataIUserContext
User context. - organizationId
- Type: SystemInt32
Organization id.
Return Value
Type:
RoleList
Returns list of roles or
null if organizationid doesn't match or if organization has no roles.
See Also