Permission Class

 

Updated: January 27, 2017

Represents a per-User permission to access a specific resource in the Azure DocumentDB database service, for example Document or Collection.

Namespace:   Microsoft.Azure.Documents
Assembly:  Microsoft.Azure.Documents.Client (in Microsoft.Azure.Documents.Client.dll)


public class Permission : Resource

NameDescription
System_CAPS_pubmethodPermission()

Initializes a new instance of the Permission class.

NameDescription
System_CAPS_pubpropertyAltLink

Gets the alt-link associated with the resource from the Azure DocumentDB database service. (Inherited from Resource.)

System_CAPS_pubpropertyETag

Gets the entity tag associated with the resource from the Azure DocumentDB database service. (Inherited from Resource.)

System_CAPS_pubpropertyId

Gets or sets the Id of the resource in the Azure DocumentDB database service. (Inherited from Resource.)

System_CAPS_pubpropertyPermissionMode

Gets or sets the permission mode in the Azure DocumentDB database service.

System_CAPS_pubpropertyResourceId

Gets or sets the Resource Id associated with the resource in the Azure DocumentDB database service. (Inherited from Resource.)

System_CAPS_pubpropertyResourceLink

Gets or sets the self-link of resource to which the permission applies in the Azure DocumentDB database service.

System_CAPS_pubpropertyResourcePartitionKey

Gets or sets optional partition key value for the permission in the Azure DocumentDB database service. A permission applies to resources when two conditions are met: 1. ResourceLink is prefix of resource's link. For example "/dbs/mydatabase/colls/mycollection" applies to "/dbs/mydatabase/colls/mycollection" and "/dbs/mydatabase/colls/mycollection/docs/mydocument" 2. ResourcePartitionKey is superset of resource's partition key. For example absent/empty partition key is superset of all partition keys.

System_CAPS_pubpropertySelfLink

Gets the self-link associated with the resource from the Azure DocumentDB database service. (Inherited from Resource.)

System_CAPS_pubpropertyTimestamp

Gets the last modified timestamp associated with the resource from the Azure DocumentDB database service. (Inherited from Resource.)

System_CAPS_pubpropertyToken

Gets the access token granting the defined permission from the Azure DocumentDB database service.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetPropertyValue<T>(String)

Gets property value associated with the specified property name from the Azure DocumentDB database service. (Inherited from Resource.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodLoadFrom(JsonReader)

Loads the object from the specified JSON reader in the Azure DocumentDB database service. (Inherited from JsonSerializable.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSaveTo(Stream, SerializationFormattingPolicy)

Saves the object to the specified stream in the Azure DocumentDB database service. (Inherited from JsonSerializable.)

System_CAPS_pubmethodSetPropertyValue(String, Object)

Sets property value associated with the specified property name in the Azure DocumentDB database service. (Inherited from Resource.)

System_CAPS_pubmethodToByteArray()

Serialize to a byte array via SaveTo for the Azure DocumentDB database service. (Inherited from Resource.)

System_CAPS_pubmethodToString()

Returns the string representation of the object in the Azure DocumentDB database service. (Inherited from JsonSerializable.)

NameDescription
System_CAPS_pubmethodIsDefined()

Determines if a certain property is defined or not. (Defined by TypeCheckFunctionsExtensions.)

System_CAPS_pubmethodIsNull()

Determines if a certain property is null or not. (Defined by TypeCheckFunctionsExtensions.)

System_CAPS_pubmethodIsPrimitive()

Determines if a certain property is of premitive JSON type. (Defined by TypeCheckFunctionsExtensions.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: