Skip to content

Get User Id

identitystore_get_user_id R Documentation

Retrieves the UserId in an identity store

Description

Retrieves the UserId in an identity store.

If you have administrator access to a member account, you can use this API from the member account. Read about member accounts in the Organizations User Guide.

Usage

identitystore_get_user_id(IdentityStoreId, AlternateIdentifier)

Arguments

IdentityStoreId

[required] The globally unique identifier for the identity store.

AlternateIdentifier

[required] A unique identifier for a user or group that is not the primary identifier. This value can be an identifier from an external identity provider (IdP) that is associated with the user, the group, or a unique attribute. For the unique attribute, the only valid paths are userName and emails.value.

Value

A list with the following syntax:

list(
  UserId = "string",
  IdentityStoreId = "string"
)

Request syntax

svc$get_user_id(
  IdentityStoreId = "string",
  AlternateIdentifier = list(
    ExternalId = list(
      Issuer = "string",
      Id = "string"
    ),
    UniqueAttribute = list(
      AttributePath = "string",
      AttributeValue = list()
    )
  )
)