case_get_associate_permissions ( session, case, associate )
Returns the list of permissions that a CASE has granted to an ASSOCIATE. This operation is restricted by privileges granted to the session's user. It is only allowed if:
| |
Input parameters: | |
Output parameters: |
|
Request sample: | case_get_associate_permissions("LC00000:000000", 3424, 2543) |
Response sample: | <?xml version="1.0" encoding="UTF-8"?> <result> <permissions> <active>true</active> <use_default>false</use_default> <editable>true</editable> <permission> <code>MEDICAL_PROFILE_BROWSE</code> <description>Can browse my medical profile</description> <access_type>browse</access_type> <access_options>browse</access_options> </permission> <permission> <code>ASSOCIATE_MANAGE</code> <description>Can manage my associates</description> <access_type>edit</access_type> <access_options>browse,edit</access_options> </permission> </permissions> </result> <ErrorMsg></ErrorMsg> |
Notes: | Each permission can be customised for a particular associates, but there is also the possibility of using the CASE default permissions. When using the default permissions (see "use_default" field in function response), the list of permissions included in the function response still has the customised values, but the server will not use them unless "use_default = true" |
, multiple selections available,