Permission Class
Definition
Represents a per-User permission to access a specific resource in the Azure DocumentDB database service, for example Document or Collection.
public class Permission : Microsoft.Azure.Documents.Resource
- Inheritance
Inherited Members
Microsoft.Azure.Documents.JsonSerializable
Microsoft.Azure.Documents.Resource
Constructors
| Permission() |
Properties
| PermissionMode |
Gets or sets the permission mode in the Azure DocumentDB database service. |
| ResourceLink |
Gets or sets the self-link of resource to which the permission applies in the Azure DocumentDB database service. |
| ResourcePartitionKey |
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:
|
| Token |
Gets the access token granting the defined permission from the Azure DocumentDB database service. |
Extension Methods
| IsDefined(Object) | |
| IsNull(Object) | |
| IsPrimitive(Object) |