IAzureCosmosDbGetRoleAssignmentsOfScope Method

Retrieves role assignments of scope scopeId.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
Task<GridResults<RoleAssignmentDto>> GetRoleAssignmentsOfScope(
	UserSessionData currentUser,
	Guid scopeId,
	int pageSize,
	int skip,
	CancellationToken cancellationToken = default
)

Parameters

currentUser  UserSessionData
Current user
scopeId  Guid
Scope Id
pageSize  Int32
Page size
skip  Int32
Items to skip
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskGridResultsRoleAssignmentDto
Retrieves all role assignments directly assigned to the scope (not scopes above or below it!)

Remarks

Note: role assignments of items above or below the scope will not be included.

See Also