Share via


AccountEntity Class

Definition

Represents an account entity.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.AccountEntityTypeConverter))]
public class AccountEntity : Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IAccountEntity, Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.AccountEntityTypeConverter))>]
type AccountEntity = class
    interface IAccountEntity
    interface IJsonSerializable
    interface IEntity
    interface IResource
    interface IValidates
Public Class AccountEntity
Implements IAccountEntity, IValidates
Inheritance
AccountEntity
Attributes
Implements

Constructors

AccountEntity()

Creates an new AccountEntity instance.

Properties

AadTenantId

The Azure Active Directory tenant id.

AadUserId

The Azure Active Directory user id.

AccountName

The name of the account. This field should hold only the name without any domain added to it, i.e. administrator.

AdditionalData

A bag of custom fields that should be part of the entity and will be presented to the user.

DisplayName

The display name of the account.

DnsDomain

The fully qualified domain DNS name.

FriendlyName

The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated.

HostEntityId

The Host entity id that contains the account in case it is a local account (not domain joined)

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

IsDomainJoined

Determines whether this is a domain account.

Kind

The kind of the entity.

Name

The name of the resource

NtDomain

The NetBIOS domain name as it appears in the alert format domain/username. Examples: NT AUTHORITY.

ObjectGuid

The objectGUID attribute is a single-value attribute that is the unique identifier for the object, assigned by active directory.

Puid

The Azure Active Directory Passport User ID.

Sid

The account security identifier, e.g. S-1-5-18.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

UpnSuffix

The user principal name suffix for the account, in some cases it is also the domain name. Examples: contoso.com.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AccountEntity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AccountEntity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IAccountEntity.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AccountEntity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to