UserIdentityFragment Class

Identity attributes of a lab user.

Inheritance
UserIdentityFragment

Constructor

UserIdentityFragment(*, principal_name: Optional[str] = None, principal_id: Optional[str] = None, tenant_id: Optional[str] = None, object_id: Optional[str] = None, app_id: Optional[str] = None, **kwargs)

Parameters

principal_name
str
Required

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

principal_id
str
Required

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

tenant_id
str
Required

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

object_id
str
Required

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
str
Required

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