UserIdentity Class

Identity attributes of a lab user.

Inheritance
msrest.serialization.Model
UserIdentity

Constructor

UserIdentity(*, principal_name: str | None = None, principal_id: str | None = None, tenant_id: str | None = None, object_id: str | None = None, app_id: str | None = None, **kwargs)

Parameters

Name Description
principal_name
Required
str

Set to the principal name / UPN of the client JWT making the request.

principal_id
Required
str

Set to the principal Id of the client JWT making the request. Service principal will not have the principal Id.

tenant_id
Required
str

Set to the tenant ID of the client JWT making the request.

object_id
Required
str

Set to the object Id of the client JWT making the request. Not all users have object Id. For CSP (reseller) scenarios for example, object Id is not available.

app_id
Required
str

Set to the app Id of the client JWT making the request.

Keyword-Only Parameters

Name Description
principal_name
Required
principal_id
Required
tenant_id
Required
object_id
Required
app_id
Required