Queries the ID of a user in a resource directory by using the ExternalId parameter.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:GetUserId |
get |
*User
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DirectoryId |
string |
Yes |
The ID of the resource directory. |
d-00fc2p61**** |
| ExternalId |
object |
Yes |
The identifier information about the user that is synchronized from an external identity provider (IdP). |
|
| Id |
string |
Yes |
The identifier of the user that is synchronized from an external IdP. |
c73******a5fdd5 |
| Issuer |
string |
Yes |
The method for external identity synchronization. Only System for Cross-domain Identity Management (SCIM) synchronization is supported. |
SCIM |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
A3A41736-A050-50B6-ABC5-590F376A0044 |
| UserId |
string |
The ID of the CloudSSO user. |
u-d8d1iox**** |
Examples
Success response
JSON format
{
"RequestId": "A3A41736-A050-50B6-ABC5-590F376A0044",
"UserId": "u-d8d1iox****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.