UserIdentity Class
Identity attributes of a lab user.
- Inheritance
-
msrest.serialization.ModelUserIdentity
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
|
Set to the principal name / UPN of the client JWT making the request. |
principal_id
Required
|
Set to the principal Id of the client JWT making the request. Service principal will not have the principal Id. |
tenant_id
Required
|
Set to the tenant ID of the client JWT making the request. |
object_id
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
Required
|
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
|
|
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python