ImageSecurity.getUserRights (Method)

Returns a structure, each containing information about the current user's image security permissions. These permissions include permissions inherited from groups for which this user is a member. An empty string indicates that the user has no rights for this field.

Returns:

ContentSecurityItem (struct)

Each row of the returned query results has the following fields:

Field Name Type Description
AllPermissions PlainText Comma-delimited list of all of a page's assigned and enforced permissions. An empty string indicates that no permissions exist.
ApprovalLevelID ApprovalLevel_Existing_0 An assigned approval level. A value of 0 indicates that no assigned approval levels exist.
EnforcedApprovalLevelID ApprovalLevel_Existing_0 An enforced approval level. A value of 0 indicates that no enforcement exists.
EnforcedPermissions PlainText A subset of all assigned permissions that CommonSpot enforces. Inheritance security enforcements can be edited.
InheritedEnforcedApprovalLevelID ApprovalLevel_Existing_0 The enforced approval level that is inherited from a higher-level object such as a parent, template, and so on.
InheritedEnforcedPermissions PlainText The enforced permissions inherited from a higher-level object. These permissions cannot be edited.

Arguments:

Name Type Required Description
imageID ImageID Required An image's ID.

Context:

License Requirements None
Permission Requirements (none)
Deny Context None
Require Context None
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization Customization is not supported for this method.

Error Codes:

None

Notes:

None