Interface IPermissionsClient
Version:
日本語翻訳に関する免責事項
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
Client for fetching entity permissions.
Namespace: Stylelabs.M.Sdk.Clients
Assembly: Stylelabs.M.Sdk.dll
Syntax
Methods
GetPermissionsAsync(Int64, Nullable<Int64>)
Gets the permissions for the specified entity.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | entityId |
The entity id. |
| System.Nullable<System.Int64> | userId |
The user id. |
Returns
| Type | Description |
|---|---|
| Task<ISet<System.String>> |
A set of all permissions for the specified entity. |
Remarks
If userId is not provided, the permissions for the current user will be returned.