Click or drag to resize
BaseRESTServiceIsAuthorizedForObject Method (String, String, PermissionsEnum)
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: 12.0.0
Syntax
C#
protected bool IsAuthorizedForObject(
	string objectType,
	string objectSite,
	PermissionsEnum permission
)

Parameters

objectType
Type: SystemString
Object type of an object
objectSite
Type: SystemString
Site the object belongs to
permission
Type: CMS.DataEnginePermissionsEnum
Permission type

Return Value

Type: Boolean
See Also