ImageSecurity (Component)
The ImageSecurity object manages the permissions that a user or group has for an image. It does this by creating security records that explicitly name the permissions that a user or group has. You can also remove permissions by deleting a security record. Other methods provide information on these permissions.
Methods marked below with [L] may be logged at the site level (if transaction logging is licensed and enabled by the administrator)
Customization is not supported for this component.
Methods:
delete [L] | Deletes an image security record from a user or group. |
deleteMultiple | Deletes the image security record for the specified users and groups. |
getAvailable | Returns one or more structures, each containing information about an image security permissions for a user or group; for example, the permission's name, description, and which permissions are implicitly enabled or disabled. |
getList | Returns zero or more structures, each containing a comma-delimited list of image security permissions for either all users and groups or just one. |
getUserRights | 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. |
isCustomized | Returns a Boolean flag which when set to true indicates that an image's permissions were overwritten (or customized). This does not include inherited permissions. |
restoreDefault [L] | Restores the image security settings for an image to those that are defined at subsite level. |
save [L] | Saves image security permissions for a user or group. |