Конечная точка GroupPolicy
Получение политики группы пользователей на Центре Идентификации
GetGroupPolicy
Параметр | Значение |
---|---|
HTTP-метод | GET |
Путь | https://<адрес сервера>/<имя приложения ЦИ>/ums/groupPolicy/{groupName} |
Параметры | groupName - Имя группы, политику которой необходимо получить |
Возвращаемое значение | GroupPolicy - Политика группы |
Пример запроса
GET https://<hostname>/STS/ums/groupPolicy/Default HTTP/1.1
Пример ответа
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 2538
{
"AllowOpcPolicyChange": true,
"Rdns": [{
"Id": 1,
"Oid": "2.5.4.3",
"DisplayName": "Общее имя",
"StringIdentifier": "CN",
"Order": 6,
"MinLength": 0,
"MaxLength": 128,
"Required": false,
"ValueSet": []
},
{
"Id": 2,
"Oid": "2.5.4.42",
"DisplayName": "Имя Отчество",
"StringIdentifier": "G",
"Order": 2,
"MinLength": 0,
"MaxLength": 128,
"Required": false,
"ValueSet": []
},
{
"Id": 3,
"Oid": "2.5.4.4",
"DisplayName": "Фамилия",
"StringIdentifier": "SN",
"Order": 1,
"MinLength": 0,
"MaxLength": 40,
"Required": false,
"ValueSet": []
},
{
"Id": 4,
"Oid": "2.5.4.43",
"DisplayName": "Инициалы",
"StringIdentifier": "I",
"Order": 3,
"MinLength": 0,
"MaxLength": 5,
"Required": false,
"ValueSet": []
},
{
"Id": 5,
"Oid": "1.2.840.113549.1.9.1",
"DisplayName": "Электронная почта",
"StringIdentifier": "E",
"Order": 12,
"MinLength": 0,
"MaxLength": 128,
"Required": false,
"ValueSet": []
},
{
"Id": 6,
"Oid": "1.2.643.3.131.1.1",
"DisplayName": "ИНН",
"StringIdentifier": "INN",
"Order": 13,
"MinLength": 12,
"MaxLength": 12,
"Required": false,
"ValueSet": []
},
{
"Id": 7,
"Oid": "1.2.643.100.1",
"DisplayName": "ОГРН",
"StringIdentifier": "OGRN",
"Order": 16,
"MinLength": 13,
"MaxLength": 13,
"Required": false,
"ValueSet": []
},
{
"Id": 8,
"Oid": "1.2.643.100.5",
"DisplayName": "ОГРНИП",
"StringIdentifier": "OGRNIP",
"Order": 15,
"MinLength": 15,
"MaxLength": 15,
"Required": false,
"ValueSet": []
},
{
"Id": 9,
"Oid": "1.2.643.100.3",
"DisplayName": "СНИЛС",
"StringIdentifier": "SNILS",
"Order": 14,
"MinLength": 11,
"MaxLength": 11,
"Required": false,
"ValueSet": []
},
{
"Id": 10,
"Oid": "2.5.4.6",
"DisplayName": "Страна",
"StringIdentifier": "C",
"Order": 11,
"MinLength": 0,
"MaxLength": 2,
"Required": false,
"ValueSet": []
},
{
"Id": 11,
"Oid": "2.5.4.8",
"DisplayName": "Область",
"StringIdentifier": "S",
"Order": 10,
"MinLength": 0,
"MaxLength": 128,
"Required": false,
"ValueSet": []
},
{
"Id": 12,
"Oid": "2.5.4.7",
"DisplayName": "Город",
"StringIdentifier": "L",
"Order": 9,
"MinLength": 0,
"MaxLength": 128,
"Required": false,
"ValueSet": []
},
{
"Id": 13,
"Oid": "2.5.4.9",
"DisplayName": "Адрес",
"StringIdentifier": "Street",
"Order": 5,
"MinLength": 0,
"MaxLength": 30,
"Required": false,
"ValueSet": []
},
{
"Id": 14,
"Oid": "2.5.4.10",
"DisplayName": "Организация",
"StringIdentifier": "O",
"Order": 8,
"MinLength": 0,
"MaxLength": 64,
"Required": false,
"ValueSet": []
},
{
"Id": 15,
"Oid": "2.5.4.11",
"DisplayName": "Подразделение",
"StringIdentifier": "OU",
"Order": 7,
"MinLength": 0,
"MaxLength": 64,
"Required": false,
"ValueSet": []
},
{
"Id": 16,
"Oid": "2.5.4.12",
"DisplayName": "Должность",
"StringIdentifier": "T",
"Order": 4,
"MinLength": 0,
"MaxLength": 64,
"Required": false,
"ValueSet": []
}]
}