Assign User to Job Security Group
  • 16 Dec 2025
  • 1 Minute to read
  • Dark
    Light

Assign User to Job Security Group

  • Dark
    Light

Article summary

Post
/sys-rest-api/rest/1/jcjobsecgrpuser

Overview

This endpoint enables the assignment of users to job/project security groups,thereby granting them access to associated jobs and projects. Users can belong to multiple security groups simultaneously.

UI Navigation

System Data > Job/Project Security > Assign Users to Job/Project Security Groups

Reference Article

https://docs.cmicglobal.com/portal/Content/E_Reference_Material/SD_-_System_Data/Reference/Security/Job_Project_Security.htm?Highlight=assign%20user%20to%20job%20security%20group

Finders

The following finders are available for data filtering and optimizing request performance.

  • findByUser

  • findByCompCode

  • findByGroupCode

Query Standards

KeyRecommendedDescription
finderYesFilters data based on attributes.
limitYesNo. of items to return
offsetYesThe offset skips a specified number of items in a data list before it starts showing results. For example, if you set an offset of 10, it skips the first 10 items and begins showing from the 11th item. For additional information on using offset functionality, please visit [Best Practice
orderByYesThe orderBy attribute retrieves rows using an order ensuring the response payload displays data in the order supplied in the URL parameter using the GET method. For more information on using orderBy functionality, please visit [Best Practice

Finders

FinderParameterData TypeDescriptionExampleMandatory
PrimaryKeyVUUIDStringV_UUID/431ACBF2E3E36B08E0630B811DAC71E5False
findByCompCodecompCodeStringcompanyCode/syst-rest-api/rest/1/jcjobsecgrpuser?finder=findByCompCode;compCode="ZZ"Optional
findByGroupCodegroupCodeStringsecurity group/sys-rest-api/rest/1/jcjobsecgrpuser?finder=findByGroupCode;groupCode="MASTER"Optional
findByUseruserCodeStringuser/sys-rest-api/rest/1/jcjobsecgrpuser?finder=findByUser;userCode="ACHAMPION"Optional

Attributes

CMiC UI FieldnameObjectNameDescriptionTypeData LengthExampleMandatory
jcjobsecgrpuserJsguUseruserIDString30ACHAMPIONTrue
jcjobsecgrpuserJsguCompCodecompanyCodeString8ZZTrue
jcjobsecgrpuserJsguGrpCodesecurity groupString10MASTERTrue
jcjobsecgrpuserJsguGrpNamesecurity group nameString30Master GroupFalse
jcjobsecgrpuserJsguVUuidvuuidString64431ACBF2E3E36B08E0630B811DAC71E5False
Security
HTTP
Type basic

Basic authentication

Body parameters
object
Example{ "JsguUser": "ROHINI", "JsguCompCode": "ZZ", "JsguGrpCode": "MASTER", "JsguGrpName": "Master job group", "JsguVUuid": "" }
Responses
201

Created

Headers
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceitem+json
"{\n    \"JsguUser\": \"ROHINI\",\n    \"JsguCompCode\": \"ZZ\",\n    \"JsguGrpCode\": \"MASTER\",\n    \"JsguGrpName\": \"Master job group\",\n    \"JsguVUuid\": \"435364C32F9EAE78E0630B811DACF3E5\",\n    \"links\": [\n        {\n            \"rel\": \"self\",\n            \"href\": \"http://127.0.0.1:7101/sys-rest-api/rest/1/jcjobsecgrpuser/\",\n            \"name\": \"jcjobsecgrpuser\",\n            \"kind\": \"item\"\n        },\n        {\n            \"rel\": \"canonical\",\n            \"href\": \"http://127.0.0.1:7101/sys-rest-api/rest/1/jcjobsecgrpuser/\",\n            \"name\": \"jcjobsecgrpuser\",\n            \"kind\": \"item\"\n        }\n    ]\n}"
string