ChatUserInfoCheckPermissionsInternal Method |
Custom permissions check. Chat user can be read with Read or GlobalRead permission
and modified with Modify or GlobalModify permission.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax protected override bool CheckPermissionsInternal(
PermissionsEnum permission,
string siteName,
IUserInfo userInfo,
bool exceptionOnFailure
)
Parameters
- permission
- Type: CMS.DataEnginePermissionsEnum
Permission to perform this operation will be checked - siteName
- Type: SystemString
Permissions on this site will be checked - userInfo
- Type: CMS.BaseIUserInfo
Permissions of this user will be checked - exceptionOnFailure
- Type: SystemBoolean
If true, PermissionCheckException is thrown whenever a permission check fails
Return Value
Type:
BooleanTrue if user is allowed to perform specified operation on the this object; otherwise false
See Also