getAvailableAssignees()
Home > @gooddata/sdk-backend-spi > IWorkspaceObjectPermissionsService > getAvailableAssignees
IWorkspaceObjectPermissionsService.getAvailableAssignees() method
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns the users and groups in the workspace that can be granted access. Excludes the current user. Whether organization admins are excluded depends on the backend.
Signature:
getAvailableAssignees(target: IObjectPermissionsObject): Promise<IAvailableAccessGrantee[]>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
target |
the object to find available assignees for |
Returns:
Promise<IAvailableAccessGrantee[]>