forUser()
Home > @gooddata/sdk-backend-spi > IWorkspacesQueryFactory > forUser
IWorkspacesQueryFactory.forUser() method
Creates a query for workspaces available to the specified user.
Signature:
forUser(userId: string): IWorkspacesQuery;
Parameters
Parameter |
Type |
Description |
---|---|---|
userId |
string |
id of the user to retrieve workspaces for |
Returns: