getAvailableGrantees()
Home > @gooddata/sdk-backend-spi > IWorkspaceAccessControlService > getAvailableGrantees
IWorkspaceAccessControlService.getAvailableGrantees() 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.
Get list of available grantees for the shared object.
Signature:
getAvailableGrantees(sharedObject: ObjRef, search?: string): Promise<IAvailableAccessGrantee[]>;
Parameters
Parameter | Type | Description |
---|---|---|
sharedObject | ObjRef | the ref of object that will have access changed |
search | string | (Optional) optional string used to limit the results (matched against name of user group, or first name, last name, or email of user). |
Returns:
Promise<IAvailableAccessGrantee[]>