IAzureCosmosDbGetBuiltInRoleAssignmentsOfEnvironment Method

Retrieves automatically assigned role assignments from accounts residing in environment.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task<GridResults<AccountDto>> GetBuiltInRoleAssignmentsOfEnvironment(
	UserSessionData currentUser,
	EnvironmentDto environment,
	int pageSize,
	int skip,
	CancellationToken cancellationToken = default
)

Parameters

currentUser  UserSessionData
Current user
environment  EnvironmentDto
Environment
pageSize  Int32
Page size
skip  Int32
Items to skip
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskGridResultsAccountDto
Returns all automatic role assignments within an environment from accounts assigned to the environment.

Remarks

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

See Also