Objective
This method is used to determine whether a DM User belongs to a specific DM group. DST must be provided.
Parameters
Parameter | Description | Type |
library | eDOCS library | String |
user | User name | String |
password | User password | String |
user_id | User ID on DM. | String |
group_id | Group ID on DM. | String |
dbSchema | Database schema. By default is set to “DOCSADM” if an empty string is passed. | String |
client | Optional parameter for the client code | String |
project | Optional parameter for the project code | String |
Rest Invoke
- http://localhost:port/GSService/xml/ or http://localhost:port/GSService/json/
- UriTemplate:
- “/SearchOnGroup/?library={library}&user={user}&password={password}&user_id={user_id}&group_id={group_id}&dbSchema={dbSchema}&client={client}&project={project}”
- “/SearchOnGroupDST/?library={library}&user={user}&dst={dst}&user_id={user_id}&group_id={group_id}&dbSchema={dbSchema}&client={client}&project={project}”
Example
http://localhost:8732/GSService/xml/SearchOnGroup/?library=DMTESTLEGAL&user=admin&password=owc123&user_id=admin&group_id=DOCS_SUPERVISORS&dbSchema=DOCSADM
The method returns:
- True: if the user belongs to the group
- False: if the user does not belong to the group
DST Example
http://localhost:8732/GSService/xml/SearchOnGroupDST/?library=DMTESTLEGAL&user=admin&dst=afd448a5d0f9b...55355b8c677ad16&user_id=admin&group_id=DOCS_SUPERVISORS&dbSchema=DOCSADM
Error
Check the edocs.log file if errors arise in the unlock process.