你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IMicrosoftGraphOAuth2PermissionGrant.PrincipalId Property

Definition

The id of the user on behalf of whom the client is authorized to access the resource, when consentType is Principal. If consentType is AllPrincipals this value is null. Required when consentType is Principal.

[Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.Info(Create=true, Description="The id of the user on behalf of whom the client is authorized to access the resource, when consentType is Principal. If consentType is AllPrincipals this value is null. Required when consentType is Principal.", PossibleTypes=new System.Type[] { typeof(System.String) }, Read=true, ReadOnly=false, Required=false, SerializedName="principalId", Update=true)]
public string PrincipalId { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Runtime.Info(Create=true, Description="The id of the user on behalf of whom the client is authorized to access the resource, when consentType is Principal. If consentType is AllPrincipals this value is null. Required when consentType is Principal.", PossibleTypes=new System.Type[] { typeof(System.String) }, Read=true, ReadOnly=false, Required=false, SerializedName="principalId", Update=true)>]
member this.PrincipalId : string with get, set
Public Property PrincipalId As String

Property Value

Attributes

Applies to