Role Users and Organizations

Interface

It allows you:

  • to get the list of Roles User and Organizations

Columns that can be used as filters:

  • User_ID

  • UserName

  • Email

    • RoleType

  • Role_ID

  • RoleName

  • IsRoleApps

  • IsTrxOrg (Trasactional Organization)

Actions can be done:

  • list

{

"data": [

{

"User_ID": 1000155,

"UserName": "TESTBEBE_Admin",

"Email": "TESTBEBE_Admin@TESTBEBE.RO",

"RoleType": "Role Other",

"Role_ID": 1000059,

"RoleName": "UserRole",

"IsRoleApps": false,

"organizations": [

{

"Role_Organization_ID": 1000613,

"Role_Organization_Code": "TESTGRUP",

"Role_Organization_Name": "TESTGRUP",

"IsTranzactionalOrg": false,

"IsReadOnly": false

},

{

"Role_Organization_ID": 0,

"Role_Organization_Code": "0",

"Role_Organization_Name": "*",

"IsTranzactionalOrg": true,

"IsReadOnly": false

}

]

},

{

"User_ID": 1000156,

"UserName": "TESTBEBE_User",

"Email": "TESTBEBE_User",

"RoleType": "Role Other",

"Role_ID": 1000059,

"RoleName": "UserRole",

"IsRoleApps": false,

"organizations": [

{

"Role_Organization_ID": 1000613,

"Role_Organization_Code": "TESTGRUP",

"Role_Organization_Name": "TESTGRUP",

"IsTranzactionalOrg": false,

"IsReadOnly": false

},

{

"Role_Organization_ID": 0,

"Role_Organization_Code": "0",

"Role_Organization_Name": "*",

"IsTranzactionalOrg": true,

"IsReadOnly": false

}

]

}

],

"totalRows": 2

}

API Methods:

List:

If the check "Use BP Restrictions" is active on a Role, then the Users assigned to that Role will not be shown.

URL: https://api.socratecloud.com/webapi/rest/roleuserorganization/list/{version}?startRow={0}&endRow={100}&accessToken={access_token}

Method: GET

Return: JSON object with next format: