Click or drag to resize
BaseRESTServiceIsAuthorizedForObject Method (BaseInfo, PermissionsEnum, String)
Returns true if current user is granted with specified permission to process operation on the given objecttype.

Namespace: CMS.WebServices
Assembly: CMS.WebServices (in CMS.WebServices.dll) Version: 13.0.131
Syntax
C#
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: Boolean
See Also