Language

UserProperties Class

Definition

Definition of Mongo user resource on a cluster.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.UserPropertiesTypeConverter))]
public class UserProperties : Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.IUserProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.UserPropertiesTypeConverter))>]
type UserProperties = class
    interface IUserProperties
    interface IJsonSerializable
Public Class UserProperties
Implements IUserProperties
Inheritance
UserProperties
Attributes
Implements

Constructors

Name Description
UserProperties()

Creates an new UserProperties instance.

Properties

Name Description
IdentityProvider

The user's identity provider definition.

IdentityProviderType

The type of identity provider that the user belongs to.

ProvisioningState

The provisioning state of the user.

Role

Database roles that are assigned to the user.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of UserProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of UserProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DocumentDB.Models.IUserProperties.

FromJsonString(String)

Creates a new instance of UserProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of UserProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to