Identity and Access Management SAML API, gRPC: FederationService.ListUserAccounts
Lists users for the specified federation.
gRPC request
rpc ListUserAccounts (ListFederatedUserAccountsRequest) returns (ListFederatedUserAccountsResponse)
ListFederatedUserAccountsRequest
{
"federation_id": "string",
"page_size": "int64",
"page_token": "string"
}
Field |
Description |
federation_id |
string Required field. ID of the federation to list user accounts for. |
page_size |
int64 The maximum number of results per page to return. If the number of available |
page_token |
string Page token. To get the next page of results, set |
ListFederatedUserAccountsResponse
{
"user_accounts": [
{
"id": "string",
// Includes only one of the fields `yandex_passport_user_account`, `saml_user_account`
"yandex_passport_user_account": {
"login": "string",
"default_email": "string"
},
"saml_user_account": {
"federation_id": "string",
"name_id": "string",
"attributes": "map<string, Attribute>"
},
// end of the list of possible fields
"last_authenticated_at": "google.protobuf.Timestamp"
}
],
"next_page_token": "string"
}
Field |
Description |
user_accounts[] |
List of user accounts for the specified federation. |
next_page_token |
string This token allows you to get the next page of results for list requests. If the number of results |
UserAccount
Currently represents only Yandex account.
Field |
Description |
id |
string ID of the user account. |
yandex_passport_user_account |
A YandexPassportUserAccount resource. Includes only one of the fields |
saml_user_account |
A SAML federated user. Includes only one of the fields |
last_authenticated_at |
YandexPassportUserAccount
A YandexPassportUserAccount resource.
For more information, see Yandex account.
Field |
Description |
login |
string Login of the Yandex user account. |
default_email |
string Default email of the Yandex user account. |
SamlUserAccount
A SAML federated user.
For more information, see federations.
Field |
Description |
federation_id |
string Required field. ID of the federation that the federation belongs to. |
name_id |
string Required field. Name Id of the SAML federated user. |
attributes |
object (map<string, Attribute>) Additional attributes of the SAML federated user. |
Attribute
Field |
Description |
value[] |
string |