SimpleFormElementSecurity.getList (Method)
Returns the security permissions for a user or group. If you do not specify a user or group, CommonSpot returns the permissions for all users and groups. The permissions returned are based on the specified simple form.
Returns:
SimpleFormElementSecurity_GetList_Result (query)
Each row of the returned query results has the following fields:
Field Name | Type | Description |
---|---|---|
AdminViaOwner | Boolean | Boolean flag which when set to true indicates that, because a user or group owns the element, the user or group has admin rights for this element. |
EnabledPermissionNameList | SimpleFormElementPermissionList_EmptyString | A comma-delimited list of all granted permissions including those implicitly granted. An empty string indicates that no permissions are enabled. |
MinimalEnabledPermissionNameList | SimpleFormElementPermissionList_EmptyString | A comma-delimited list of granted permissions. This does not include those implicitly granted. An empty string indicates that no permissions are minimally enabled. |
Arguments:
Name | Type | Required | Description |
---|---|---|---|
formID | SimpleFormID | Required | A simple form ID. |
userGroupID | UserGroupID_All | Optional. Defaults to 'All'. | A user or group's ID. If this value is 'All', CommonSpot returns results for all users and groups. |
Context:
License Requirements | SimpleForm |
Permission Requirements | Contributor |
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