編輯

共用方式為


accessPackageSubject resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

In Microsoft Entra entitlement management, an access package subject is a user, service principal, or other entity that can be configured to request or be assigned an access package. It may represent a requestor from a connected organization who isn't yet in the tenant.

Methods

Method Return Type Description
Get accessPackageSubject Get the properties of an accesspackagesubject object.
Update None Update the properties of an accesspackagesubject object.

Properties

Property Type Description
altSecId String Not Supported.
cleanupScheduledDateTime DateTimeOffset The date and time the subject is marked to be blocked from sign in or deleted. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.
connectedOrganizationId String The identifier of the connected organization of the subject.
displayName String The display name of the subject.
email String The email address of the subject.
id String Read-only. Key.
objectId String The object identifier of the subject. null if the subject isn't yet a user in the tenant. Alternate key.
onPremisesSecurityIdentifier String A string representation of the principal's security identifier, if known, or null if the subject doesn't have a security identifier.
principalName String The principal name, if known, of the subject.
subjectLifecycle accessPackageSubjectLifecycle The lifecycle of the subject user, if a guest. The possible values are: notDefined, notGoverned, governed, unknownFutureValue.
type String The resource type of the subject.

Relationships

Relationship Type Description
connectedOrganization connectedOrganization The connected organization of the subject. Read-only. Nullable.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.accessPackageSubject",
  "id": "String (identifier)",
  "objectId": "String",
  "altSecId": "String",
  "cleanupScheduledDateTime": "String (timestamp)",
  "displayName": "String",
  "principalName": "String",
  "email": "String",
  "onPremisesSecurityIdentifier": "String",
  "type": "String",
  "connectedOrganizationId": "String",
  "subjectLifecycle": "String"
}