共用方式為


UserIdentity interface

Identity attributes of a lab user.

Properties

appId

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

objectId

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.

principalId

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

principalName

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

tenantId

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

Property Details

appId

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

appId?: string

Property Value

string

objectId

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.

objectId?: string

Property Value

string

principalId

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

principalId?: string

Property Value

string

principalName

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

principalName?: string

Property Value

string

tenantId

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

tenantId?: string

Property Value

string