Sdílet prostřednictvím


ShareSasBuilder.SetPermissions Method

Definition

Overloads

SetPermissions(ShareAccountSasPermissions)

Sets the permissions for a file account level SAS.

SetPermissions(ShareFileSasPermissions)

Sets the permissions for a file SAS.

SetPermissions(ShareSasPermissions)

Sets the permissions for a share SAS.

SetPermissions(String)

Sets the permissions for the SAS using a raw permissions string.

SetPermissions(String, Boolean)

Sets the permissions for the SAS using a raw permissions string.

SetPermissions(ShareAccountSasPermissions)

Source:
ShareSasBuilder.cs
Source:
ShareSasBuilder.cs

Sets the permissions for a file account level SAS.

public void SetPermissions (Azure.Storage.Sas.ShareAccountSasPermissions permissions);
member this.SetPermissions : Azure.Storage.Sas.ShareAccountSasPermissions -> unit
Public Sub SetPermissions (permissions As ShareAccountSasPermissions)

Parameters

permissions
ShareAccountSasPermissions

ShareAccountSasPermissions containing the allowed permissions.

Applies to

SetPermissions(ShareFileSasPermissions)

Source:
ShareSasBuilder.cs
Source:
ShareSasBuilder.cs

Sets the permissions for a file SAS.

public void SetPermissions (Azure.Storage.Sas.ShareFileSasPermissions permissions);
member this.SetPermissions : Azure.Storage.Sas.ShareFileSasPermissions -> unit
Public Sub SetPermissions (permissions As ShareFileSasPermissions)

Parameters

permissions
ShareFileSasPermissions

ShareFileSasPermissions containing the allowed permissions.

Applies to

SetPermissions(ShareSasPermissions)

Source:
ShareSasBuilder.cs
Source:
ShareSasBuilder.cs

Sets the permissions for a share SAS.

public void SetPermissions (Azure.Storage.Sas.ShareSasPermissions permissions);
member this.SetPermissions : Azure.Storage.Sas.ShareSasPermissions -> unit
Public Sub SetPermissions (permissions As ShareSasPermissions)

Parameters

permissions
ShareSasPermissions

ShareSasPermissions containing the allowed permissions.

Applies to

SetPermissions(String)

Source:
ShareSasBuilder.cs
Source:
ShareSasBuilder.cs

Sets the permissions for the SAS using a raw permissions string.

public void SetPermissions (string rawPermissions);
member this.SetPermissions : string -> unit
Public Sub SetPermissions (rawPermissions As String)

Parameters

rawPermissions
String

Raw permissions string for the SAS.

Applies to

SetPermissions(String, Boolean)

Source:
ShareSasBuilder.cs
Source:
ShareSasBuilder.cs

Sets the permissions for the SAS using a raw permissions string.

public void SetPermissions (string rawPermissions, bool normalize = false);
member this.SetPermissions : string * bool -> unit
Public Sub SetPermissions (rawPermissions As String, Optional normalize As Boolean = false)

Parameters

rawPermissions
String

Raw permissions string for the SAS.

normalize
Boolean

If the permissions should be validated and correctly ordered.

Applies to