Click or drag to resize
BaseRESTServiceIsAuthorizedForObject Method (BaseInfo, PermissionsEnum)

Note: This API is now obsolete.

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: 8.2.23
Syntax
C#
[ObsoleteAttribute("Use bool IsAuthorizedForObject(BaseInfo obj, PermissionsEnum permission, string objectType) method instead.")]
protected bool IsAuthorizedForObject(
	BaseInfo obj,
	PermissionsEnum permission
)

Parameters

obj
Type: CMS.DataEngineBaseInfo
Object to be checked
permission
Type: CMS.DataEnginePermissionsEnum
Permission type

Return Value

Type: Boolean
See Also