다음을 통해 공유


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