Objective

This method is used to determine whether a DM User belongs to a specific DM group. DST must be provided.

Parameters

ParameterDescriptionType
libraryeDOCS libraryString
userUser nameString
passwordUser passwordString
user_idUser ID on DM.String
group_idGroup ID on DM.String
dbSchemaDatabase schema. By default is set to “DOCSADM” if an empty string is passed.String
clientOptional parameter for the client codeString
projectOptional parameter for the project codeString

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.