GetAppliedPermissions()
Get user permissions for a given service and organization
Description
Get a list of user permissions for a given service and (optionally) organization
Package Details
Interface
IAccountManager
Syntax
AccountManager.GetAppliedPermissions(int userId, int serviceId, int? organizationId = null)
Returns
Task<List<AppliedPermissionSet>>
API
Not currently available. (Requires CurrentUser context)
Example
int myServiceId = 12345
int myOrganizationId = 123;
_accountManager.GetAppliedPermissions(CurrentUser.Id, myServiceId, myOrganizationId);
// null organization
_accountManager.GetAppliedPermissions(CurrentUser.Id, myServiceId);