Get list of users for a specific security group by security group name
get
/PASService/rest/services/v1/securityGroups/{securityGroupName}/users
Get a list of users for a specific security group.
Request
Path Parameters
-
securityGroupName(required): string
SecurityGroupName
Query Parameters
-
limit: integer(int32)
This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
-
offset: integer(int32)
Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
There's no request body for this operation.
Back to TopResponse
200 Response
This operation fetches list of users for a specific security group by security group name successfully.
Examples
This example describes how to get a specific securityGroup by the securityGroupName.
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl \
-X GET \
-H "Content-Type: application/json" \
-u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-L "http://server:port/PASService/rest/services/v1/securityGroups/Prototype Super/users"
Note:
The response example given below is of dynamic nature and depends on the configuration.Example Response Body
The following shows an example of the response body in JSON format:
{
"count": 23,
"offset": 0,
"limit": 100,
"users": [
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/SCBUser",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=01",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=00",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "7B4229CA-E38B-4B28-ABDA-B8CC4610E741",
"userStatus": "01",
"localeCode": "00",
"loginName": "SCBUser",
"client": {
"firstName": "SCBUser",
"lastName": "SCBUser",
"gender": null,
"email": "test@testmail.com",
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/IshaanUser",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=01",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=00",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "85122FB1-EA0F-44E3-AC96-24E33B0B5E41",
"userStatus": "01",
"localeCode": "00",
"loginName": "IshaanUser",
"client": {
"firstName": "IshaanUser",
"lastName": "IshaanUser",
"gender": null,
"email": null,
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/WP5",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=01",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=01",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "862F97FB-EFC9-4945-8CCE-92C78C89604C",
"userStatus": "01",
"localeCode": "01",
"loginName": "WP5",
"client": {
"firstName": "WP5",
"lastName": "WP5",
"gender": null,
"email": "test@testmail.com",
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/shubhama2",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=01",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=01",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "86CA2844-E644-4186-9D4E-A8BBC21B7B8F",
"userStatus": "01",
"localeCode": "01",
"loginName": "shubhama2",
"client": {
"firstName": "Shubham1",
"lastName": "Agrawal1",
"gender": null,
"email": "test@testmail.com",
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/WP3",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=01",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=01",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "96401DFC-3AC5-4BE3-BBC9-E606AF396AC4",
"userStatus": "01",
"localeCode": "01",
"loginName": "WP3",
"client": {
"firstName": "WP3",
"lastName": "WP3",
"gender": null,
"email": "test@testmail.com",
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/shubham6",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=01",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=01",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "F68CBCCD-257A-4DD6-998A-12B49F8BF8F1",
"userStatus": "01",
"localeCode": "01",
"loginName": "shubham6",
"client": {
"firstName": "Shubham1",
"lastName": "Agrawal1",
"gender": null,
"email": "test@testmail.com",
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/WP8",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=02",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=00",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "44F93776-FCE0-4B2E-AE27-2684B09BF58C",
"userStatus": "02",
"localeCode": "00",
"loginName": "WP8",
"client": {
"firstName": "WP8",
"lastName": "WP8",
"gender": null,
"email": "test@testmail.com",
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/WP7",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=01",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=01",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "4680DA31-5AAB-4FEF-A389-EF9B92E90D4F",
"userStatus": "01",
"localeCode": "01",
"loginName": "WP7",
"client": {
"firstName": "WP7",
"lastName": "WP7",
"gender": null,
"email": "test@testmail.com",
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/padma",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=02",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=01",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "4D38966E-4F85-44BC-8AE7-5B24F0BF9E81",
"userStatus": "02",
"localeCode": "01",
"loginName": "padma",
"client": {
"firstName": "padmavathi",
"lastName": "kurapati",
"gender": null,
"email": "test@testmail.com",
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/sanju",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=01",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=00",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=ClientSex&codeValue= ",
"rel": "codes/Gender",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "51D665EF-AC13-445F-98AB-A0DF7917E5B9",
"userStatus": "01",
"localeCode": "00",
"loginName": "sanju",
"client": {
"firstName": "sanju",
"lastName": "sanju",
"gender": " ",
"email": null,
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/shubhama",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=02",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=00",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "55D2E5C5-F664-475A-A518-8EC4AD6201CC",
"userStatus": "02",
"localeCode": "00",
"loginName": "shubhama",
"client": {
"firstName": "Shubham",
"lastName": "Agrawal",
"gender": null,
"email": "test@testmail.com",
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/shubhama1",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=01",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=01",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "01D250EE-A559-4861-B5EC-EA1723E97416",
"userStatus": "01",
"localeCode": "01",
"loginName": "shubhama1",
"client": {
"firstName": "Shubham1",
"lastName": "Agrawal1",
"gender": null,
"email": "test@testmail.com",
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/harsha",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=01",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=00",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=ClientSex&codeValue=M",
"rel": "codes/Gender",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "117CB39F-2AE0-4980-8ED2-AB080C61E6D1",
"userStatus": "01",
"localeCode": "00",
"loginName": "harsha",
"client": {
"firstName": "harsha",
"lastName": "harsha",
"gender": "M",
"email": null,
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/shubhama3",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=01",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=01",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "C30AD2D7-3948-454B-A842-9DBAF3A5C6BC",
"userStatus": "01",
"localeCode": "01",
"loginName": "shubhama3",
"client": {
"firstName": "Shubham1",
"lastName": "Agrawal1",
"gender": null,
"email": null,
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/qatester3",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=01",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=00",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=ClientSex&codeValue=F",
"rel": "codes/Gender",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "C3BEA5A3-E8FC-46E7-BEEC-87C08FC684FE",
"userStatus": "01",
"localeCode": "00",
"loginName": "qatester3",
"client": {
"firstName": "qatester3",
"lastName": "qatester3",
"gender": "F",
"email": null,
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/shubham7",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=02",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=01",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "CD84452E-E059-477D-AA3C-295F69A25FE0",
"userStatus": "02",
"localeCode": "01",
"loginName": "shubham7",
"client": {
"firstName": "Shubham1",
"lastName": "Agrawal1",
"gender": null,
"email": "test@testmail.com",
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/WP2",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=01",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=01",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "D027F655-F061-4E90-BC29-02A47B02F502",
"userStatus": "01",
"localeCode": "01",
"loginName": "WP2",
"client": {
"firstName": "WP2",
"lastName": "WP2",
"gender": null,
"email": "test@testmail.com",
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/shubhama5",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=02",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=01",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "E4B14F51-607B-445F-9892-D36F3E7A39E5",
"userStatus": "02",
"localeCode": "01",
"loginName": "shubhama5",
"client": {
"firstName": "Shubham1",
"lastName": "Agrawal1",
"gender": null,
"email": "test@testmail.com",
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/WP4",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=01",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=01",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "6235B0EA-71A2-4FB7-8BCF-4492E06820E2",
"userStatus": "01",
"localeCode": "01",
"loginName": "WP4",
"client": {
"firstName": "WP4",
"lastName": "WP4",
"gender": null,
"email": "test@testmail.com",
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/vardhan",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=01",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=00",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "67F5C54C-E258-43B4-AF00-6CC2EFD16D44",
"userStatus": "01",
"localeCode": "00",
"loginName": "vardhan",
"client": {
"firstName": "vardhan",
"lastName": "vardhan",
"gender": null,
"email": null,
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/WP",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=01",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=00",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "6A886DD5-3EEF-44AA-A610-5FF9CAABF264",
"userStatus": "01",
"localeCode": "00",
"loginName": "WP",
"client": {
"firstName": "WP",
"lastName": "WP",
"gender": null,
"email": "test@testmail.com",
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/WP6",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=01",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=00",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "6B727622-6D33-42CF-933F-8B5F4AB73863",
"userStatus": "01",
"localeCode": "00",
"loginName": "WP6",
"client": {
"firstName": "WP6",
"lastName": "WP6",
"gender": null,
"email": "test@testmail.com",
"primaryCompany": "Prototype"
}
},
{
"links": [
{
"href": "http://server:port//PASService/rest/services/v1/users/WP1",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=UserStatus&codeValue=01",
"rel": "codes/userStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port//PASService/rest/services/v1/codes?codeName=Locale&codeValue=00",
"rel": "codes/localeCode",
"mediaType": "application/json",
"method": "GET"
}
],
"clientGuid": "6FF978FF-A3EA-485D-AFB3-45A89B81CB31",
"userStatus": "01",
"localeCode": "00",
"loginName": "WP1",
"client": {
"firstName": "WP1",
"lastName": "WP1",
"gender": null,
"email": "test@testmail.com",
"primaryCompany": "Prototype"
}
}
]