你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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