共用方式為


SasQueryParameters.PreauthorizedAgentObjectId Property

Definition

Gets the Authorized AAD Object Id associated with the shared access signature. The AAD Object ID of a user authorized by the owner of the User Delegation Key to perform the action granted by the SAS. The Azure Storage service will ensure that the owner of the user delegation key has the required permissions before granting access but no additional permission check for the user specified in this value will be performed. This cannot be used in conjuction with AgentObjectId. Only valid in an HNS enabled account. If this value is set in an non-HNS enabled account, an authorization failure will be thrown.

public string PreauthorizedAgentObjectId { get; }
member this.PreauthorizedAgentObjectId : string
Public ReadOnly Property PreauthorizedAgentObjectId As String

Property Value

Applies to