Share via


UserInfo Class

Definition

User information that made some action

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20.UserInfoTypeConverter))]
public class UserInfo : Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20.IUserInfo
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20.UserInfoTypeConverter))>]
type UserInfo = class
    interface IUserInfo
    interface IJsonSerializable
Public Class UserInfo
Implements IUserInfo
Inheritance
UserInfo
Attributes
Implements

Constructors

UserInfo()

Creates an new UserInfo instance.

Properties

Email

The email of the user.

Name

The name of the user.

ObjectId

The object id of the user.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of UserInfo.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of UserInfo.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20.IUserInfo.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of UserInfo into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to