Interface IPermissionCheck
This interface is implemented by all objects that can be secured using permissions and allows the user to query whether the object has a certain permission.
Namespace: SdlSdl.LanguagePlatformTranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public interface IPermissionCheck
Methods
HasPermission(string)
Gets whether this object has the permission with the specified name.
Declaration
bool HasPermission(string permission)
Parameters
Type | Name | Description |
---|---|---|
string | permission | The permission name. |
Returns
Type | Description |
---|---|
bool |
is the object has the specified permission. |