BaseRESTServiceIsAuthorizedForObject Method (BaseInfo, PermissionsEnum, String) |
Returns true if current user is granted with specified permission to process operation on the given objecttype.
Namespace: CMS.WebServicesAssembly: CMS.WebServices (in CMS.WebServices.dll) Version: 13.0.131
Syntax protected bool IsAuthorizedForObject(
BaseInfo obj,
PermissionsEnum permission,
string objectType
)
Parameters
- obj
- Type: CMS.DataEngineBaseInfo
Object to be checked - permission
- Type: CMS.DataEnginePermissionsEnum
Permission type - objectType
- Type: SystemString
Type of object.
Return Value
Type:
BooleanSee Also