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

Principal Class

Definition

The name of the entity last modified it

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.PrincipalTypeConverter))]
public class Principal : Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IPrincipal
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.PrincipalTypeConverter))>]
type Principal = class
    interface IPrincipal
    interface IJsonSerializable
Public Class Principal
Implements IPrincipal
Inheritance
Principal
Attributes
Implements

Constructors

Principal()

Creates an new Principal instance.

Properties

DisplayName

The name of the principal made changes

Email

Email of principal

Id

The id of the principal made changes

Type

Type of principal such as user , group etc

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Principal.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Principal.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IPrincipal.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Principal into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to