Discuss this help topic in SecureBlackbox Forum

TElWinAzureDataStorage.CreateSharedAccessSignature

TElWinAzureDataStorage     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Creates a Shared Access Signature (SAS).

Declaration

[C#]
    string CreateSharedAccessSignature(string ContainerName, string ObjName, TElWinAzureSingleAccessPolicy Policy);
    string CreateSharedAccessSignature(string ContainerName, TElWinAzureSingleAccessPolicy Policy);
    string CreateSharedAccessSignature(TElWinAzureDataStorageObject Obj, TElWinAzureSingleAccessPolicy Policy);
    string CreateSharedAccessSignature(TElWinAzureDataStorageContainer Container, TElWinAzureSingleAccessPolicy Policy);

[VB.NET]
    Function CreateSharedAccessSignature(ByVal ContainerName As String, ByVal ObjName As String, ByVal Policy As TElWinAzureSingleAccessPolicy) As String
    Function CreateSharedAccessSignature(ByVal ContainerName As String, ByVal Policy As TElWinAzureSingleAccessPolicy) As String
    Function CreateSharedAccessSignature(ByVal Obj As TElWinAzureDataStorageObject, ByVal Policy As TElWinAzureSingleAccessPolicy) As String
    Function CreateSharedAccessSignature(ByVal Container As TElWinAzureDataStorageContainer, ByVal Policy As TElWinAzureSingleAccessPolicy) As String

[Pascal]
    function CreateSharedAccessSignature(const ContainerName : string; const ObjName : string; Policy : TElWinAzureSingleAccessPolicy) : string;
    function CreateSharedAccessSignature(const ContainerName : string; Policy : TElWinAzureSingleAccessPolicy) : string;
    function CreateSharedAccessSignature(Obj : TElWinAzureDataStorageObject; Policy : TElWinAzureSingleAccessPolicy) : string;
    function CreateSharedAccessSignature(Container : TElWinAzureDataStorageContainer; Policy : TElWinAzureSingleAccessPolicy) : string;

[C++]
    void CreateSharedAccessSignature(const std::string &ContainerName, const std::string &ObjName, TElWinAzureSingleAccessPolicy &Policy, std::string &OutResult);
    void CreateSharedAccessSignature(const std::string &ContainerName, const std::string &ObjName, TElWinAzureSingleAccessPolicy *Policy, std::string &OutResult);
    void CreateSharedAccessSignature(const std::string &ContainerName, TElWinAzureSingleAccessPolicy &Policy, std::string &OutResult);
    void CreateSharedAccessSignature(const std::string &ContainerName, TElWinAzureSingleAccessPolicy *Policy, std::string &OutResult);
    void CreateSharedAccessSignature(TElWinAzureDataStorageObject &Obj, TElWinAzureSingleAccessPolicy &Policy, std::string &OutResult);
    void CreateSharedAccessSignature(TElWinAzureDataStorageObject *Obj, TElWinAzureSingleAccessPolicy *Policy, std::string &OutResult);
    void CreateSharedAccessSignature(TElWinAzureDataStorageContainer &Container, TElWinAzureSingleAccessPolicy &Policy, std::string &OutResult);
    void CreateSharedAccessSignature(TElWinAzureDataStorageContainer *Container, TElWinAzureSingleAccessPolicy *Policy, std::string &OutResult);

[PHP]
    string CreateSharedAccessSignature(string $ContainerName, string $ObjName, TElWinAzureSingleAccessPolicy $Policy)
    string CreateSharedAccessSignature(string $ContainerName, TElWinAzureSingleAccessPolicy $Policy)
    string CreateSharedAccessSignature(TElWinAzureDataStorageObject $Obj, TElWinAzureSingleAccessPolicy $Policy)
    string CreateSharedAccessSignature(TElWinAzureDataStorageContainer $Container, TElWinAzureSingleAccessPolicy $Policy)

[Java]
    String createSharedAccessSignature(TElWinAzureDataStorageObject Obj, TElWinAzureSingleAccessPolicy Policy);
    String createSharedAccessSignature(String ContainerName, TElWinAzureSingleAccessPolicy Policy);
    String createSharedAccessSignature(String ContainerName, String ObjName, TElWinAzureSingleAccessPolicy Policy);
    String createSharedAccessSignature(TElWinAzureDataStorageContainer Container, TElWinAzureSingleAccessPolicy Policy);

Parameters

  • Container - the container to be accessed with the SAS.
  • ContainerName - specifies the name of the container to be accessed.
  • Obj - the object to be accessed with the SAS.
  • ObjName - specifies the name of the object to be accessed.
  • Policy - specifies the access policy.

Return value

    Returns the signature value.

Description

    Use this method to create a new Shared Access Signature (SAS). A SAS is a URL that grants access rights to containers, blobs, queues, and tables.

Discuss this help topic in SecureBlackbox Forum