你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Principal Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 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) | |
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) | |
ToJsonString() |
Serializes this instance to a json string. |