Share via


DatabasePrincipal Class

Definition

A class representing database principal entity.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20230815.DatabasePrincipalTypeConverter))]
public class DatabasePrincipal : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20230815.IDatabasePrincipal
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20230815.DatabasePrincipalTypeConverter))>]
type DatabasePrincipal = class
    interface IDatabasePrincipal
    interface IJsonSerializable
Public Class DatabasePrincipal
Implements IDatabasePrincipal
Inheritance
DatabasePrincipal
Attributes
Implements

Constructors

DatabasePrincipal()

Creates an new DatabasePrincipal instance.

Properties

AppId

Application id - relevant only for application principal type.

Email

Database principal email if exists.

Fqn

Database principal fully qualified name.

Name

Database principal name.

Role

Database principal role.

TenantName

The tenant name of the principal

Type

Database principal type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DatabasePrincipal.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DatabasePrincipal.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20230815.IDatabasePrincipal.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DatabasePrincipal into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to