IAzureCosmosDbGetRoleAssignmentsOfScope Method

Retrieves role assignments of scope scopeId.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
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