AzureCosmosDbGetBuiltInRoleAssignmentsOfEnvironment 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.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public 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.

Implements

IAzureCosmosDbGetBuiltInRoleAssignmentsOfEnvironment(UserSessionData, EnvironmentDto, Int32, Int32, CancellationToken)

Remarks

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

See Also