Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
true if the caller has the desired permission, false otherwise.
This version of the call checks the caller's permission on the specified object
This is the backwards compatible implementation of this method.
This implementation does not throw any exceptions, instead callers must examine the outcome of the call in the Status and StatusText output parameters.
[This is preliminary documentation and is subject to change.]
Checks if a user has a certain permission on a Content Studio object.
Namespace: ContentStudio.Security
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public bool ObjectAccessCheck( ConnectionId connectionId, SessionId sessionId, CSObjectPermissions accessMask, CSSecurableObjects objectType, int objectId, out int status, out string statusText )
Parameters
- connectionId
- Type: ContentStudioConnectionId
A value that identifies the web site - sessionId
- Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId). - accessMask
- Type: ContentStudio.SecurityCSObjectPermissions
An access mask that specifies the permission to check - objectType
- Type: ContentStudio.SecurityCSSecurableObjects
A member in the CSSecurableObjects enumeration that indicates the type of object to check access for. - objectId
- Type: SystemInt32
A value that identifies the object to check - status
- Type: SystemInt32
An integer indicating result of the call. Zero is success. - statusText
- Type: SystemString
The textual representation of the call result.
Return Value
Type: Booleantrue if the caller has the desired permission, false otherwise.
Remarks
Remarks
See Also