User Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Operations for reading, replacing, or deleting a specific existing user by id and query a user's permissions.
public abstract class User
type User = class
Public MustInherit Class User
- Inheritance
-
User
Constructors
User() |
Properties
Id |
The Id of the Cosmos user |
Methods
CreatePermissionAsync(PermissionProperties, Nullable<Int32>, RequestOptions, CancellationToken) |
Creates a permission as an asynchronous operation in the Azure Cosmos service. |
DeleteAsync(RequestOptions, CancellationToken) |
Delete a UserProperties from the Azure Cosmos DB service as an asynchronous operation. |
GetPermission(String) |
Returns a reference to a permission object. |
GetPermissionQueryIterator<T>(QueryDefinition, String, QueryRequestOptions) |
This method creates a query for permissions under a database using a SQL statement with parameterized values. It returns a FeedIterator. For more information on preparing SQL statements with parameterized values, please see QueryDefinition overload. |
GetPermissionQueryIterator<T>(String, String, QueryRequestOptions) |
This method creates a query for permission under a user using a SQL statement. It returns a FeedIterator. |
ReadAsync(RequestOptions, CancellationToken) |
Reads a UserProperties from the Azure Cosmos service as an asynchronous operation. |
ReplaceAsync(UserProperties, RequestOptions, CancellationToken) |
Replace a UserProperties from the Azure Cosmos service as an asynchronous operation. |
UpsertPermissionAsync(PermissionProperties, Nullable<Int32>, RequestOptions, CancellationToken) |
Upsert a permission as an asynchronous operation in the Azure Cosmos service. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기