UserResponse 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.
The cosmos user response
public class UserResponse : Azure.Response<Azure.Cosmos.UserProperties>
type UserResponse = class
inherit Response<UserProperties>
Public Class UserResponse
Inherits Response(Of UserProperties)
- Inheritance
Constructors
| Name | Description |
|---|---|
| UserResponse() |
Create a UserResponse as a no-op for mock testing |
Properties
| Name | Description |
|---|---|
| User |
The reference to the cosmos user. This allows additional operations on the user or for easy access permissions |
| Value |
Gets the value returned by the service. Accessing this property will throw if HasValue is false. |
Methods
| Name | Description |
|---|---|
| GetRawResponse() |
Returns the HTTP response returned by the service. |
Operators
| Name | Description |
|---|---|
| Implicit(UserResponse to CosmosUser) |
Get CosmosUser implicitly from UserResponse |