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: Sdl.LanguagePlatform.TranslationMemoryApi
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 |
---|---|---|
System.String | permission | The permission name. |
Returns
Type | Description |
---|---|
System.Boolean | is the object has the specified permission. |