Class UserResponse
The cosmos user response
public class UserResponse : Response<UserProperties>
- Inheritance
-
UserResponse
- Inherited Members
- Extension Methods
Constructors
UserResponse()
Create a UserResponse as a no-op for mock testing
protected UserResponse()
Properties
ActivityId
public override string ActivityId { get; }
Property Value
Diagnostics
public override CosmosDiagnostics Diagnostics { get; }
Property Value
ETag
public override string ETag { get; }
Property Value
Headers
public override Headers Headers { get; }
Property Value
RequestCharge
public override double RequestCharge { get; }
Property Value
Resource
public override UserProperties Resource { get; }
Property Value
StatusCode
public override HttpStatusCode StatusCode { get; }
Property Value
User
The reference to the cosmos user. This allows additional operations on the user or for easy access permissions
public virtual User User { get; }
Property Value
Operators
implicit operator User(UserResponse)
Get User implicitly from UserResponse
public static implicit operator User(UserResponse response)
Parameters
response
UserResponseUserResponse