# Class CIM_AccountManagementService
extends CIM_SecurityService

CIM_AccountManagementService creates, manages, and if necessary destroys Accounts on behalf of other SecuritySerices.

### Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods

## Class Hierarchy

CIM_ManagedElement
|
+--CIM_ManagedSystemElement
|
+--CIM_LogicalElement
|
+--CIM_EnabledLogicalElement
|
+--CIM_Service
|
+--CIM_SecurityService
|
+--CIM_AccountManagementService

## Direct Known Subclasses

## Class Qualifiers

Name | Data Type | Value
--- | --- | ---
Description | string | CIM_AccountManagementService creates, manages, and if necessary destroys Accounts on behalf of other SecuritySerices.
UMLPackagePath | string | CIM::User::Account
Version | string | 2.35.0

## Class Properties

### Inherited Properties

Name | Data Type | Class Origin
--- | --- | ---
Caption | string | CIM_ManagedElement
CommunicationStatus | uint16 | CIM_ManagedSystemElement
CreationClassName | string | CIM_Service
Description | string | CIM_ManagedElement
DetailedStatus | uint16 | CIM_ManagedSystemElement
ElementName | string | CIM_ManagedElement
EnabledDefault | uint16 | CIM_EnabledLogicalElement
EnabledState | uint16 | CIM_EnabledLogicalElement
HealthState | uint16 | CIM_ManagedSystemElement
InstallDate | datetime | CIM_ManagedSystemElement
InstanceID | string | CIM_ManagedElement
Name | string | CIM_Service
OperatingStatus | uint16 | CIM_ManagedSystemElement
OtherEnabledState | string | CIM_EnabledLogicalElement
PrimaryOwnerContact | string | CIM_Service
PrimaryOwnerName | string | CIM_Service
PrimaryStatus | uint16 | CIM_ManagedSystemElement
RequestedState | uint16 | CIM_EnabledLogicalElement
Started | boolean | CIM_Service
StartMode | string | CIM_Service
Status | string | CIM_ManagedSystemElement
SystemCreationClassName | string | CIM_Service
SystemName | string | CIM_Service
TimeOfLastStateChange | datetime | CIM_EnabledLogicalElement
TransitioningToState | uint16 | CIM_EnabledLogicalElement
AvailableRequestedStates | uint16[] | CIM_EnabledLogicalElement
OperationalStatus | uint16[] | CIM_ManagedSystemElement
StatusDescriptions | string[] | CIM_ManagedSystemElement

## Class Methods

### Local Class Methods

#### CreateAccount (uint32)

#### Method Qualifiers (CreateAccount)

Name | Data Type | Value
--- | --- | ---
Description | string | CreateAccount creates an Account on the specified ComputerSystem. Upon successful completion of the method, there shall be a newly created instance of CIM_Account associated through the CIM_AccountOnSystem association with the instance of ComputerSystem identified by the System parameter such that each property of the CIM_Account instance has the value of the corresponding property of the template instance specified by the AccountTemplate parameter and the CIM_Account instance is associated with this instance of CIM_AccountManagementService through the CIM_ServiceAffectsElement association. Instances of CIM_Identity may be created by the method and associated with the instance of CIM_Account through CIM_AssignedIdentity. If one or more instances of CIM_Identity are created, a reference to each shall be returned in the Identities parameter, otherwise the Identities parameter shall be NULL upon method completion.
ValueMap | string | 0, 1, 2, .., 32768..65535
Values | string | Completed with No Error, Not Supported, Failed, Method Reserved, Vendor Specific

#### Method Parameters (CreateAccount)

Name | Type | Qualifiers
--- | --- | ---
Name | Data Type | Value
AccountTemplate | string
Description | string | AccountTemplate is a template for the desired Account to be created.
EmbeddedInstance | string | CIM_Account
Required | boolean | true
Identities | CIM_Identity[]
Description | string | Reference to the instances of CIM_Identity created when the method returns a value of 0. NULL if no such instances are created.
IN | boolean | false
OUT | boolean | true
Account | REF CIM_Account
Description | string | Reference to the instance of CIM_Account created when the method returns a value of 0.
IN | boolean | false
OUT | boolean | true
System | REF CIM_ComputerSystem
Description | string | The scoping ComputerSystem in which to create the Account.
Required | boolean | true

#### CreateUserContact (uint32)

#### Method Qualifiers (CreateUserContact)

Name | Data Type | Value
--- | --- | ---
Description | string | CreateUserContact creates a UserContact for the specified system. Upon successful completion of the method, there shall be a newly created instance of CIM_UserContact associated to an instance of CIM_Identity through CIM_AssignedIdentity. A CIM_Identity instance may be created by the method or may be one that already existed that represented this user.
ValueMap | string | 0, 1, 2, ..
Values | string | Completed with No Error, Not Supported, Failed, Method Reserved

#### Method Parameters (CreateUserContact)

Name | Type | Qualifiers
--- | --- | ---
Name | Data Type | Value
UserContactTemplate | string
Description | string | UserContactTemplate is a template for the desired UserContact to be created
EmbeddedInstance | string | CIM_UserContact
Required | boolean | true
Identities | CIM_Identity[]
Description | string | Reference to the instances of CIM_Identity when the method returns a value of 0. These instances may not be created as a part of the execution of this method. These instances may already exist prior to the invocation of this method.
In | boolean | false
Out | boolean | true
System | REF CIM_ComputerSystem
Description | string | The scoping ComputerSystem in which to create the Account.
Required | boolean | true
UserContact | REF CIM_UserContact
Description | string | Reference to the instance of CIM_UserContact created when the method returns a value of 0
In | boolean | false
Out | boolean | true

#### CreateUserContactByIdentity (uint32)

#### Method Qualifiers (CreateUserContactByIdentity)

Name | Data Type | Value
--- | --- | ---
Description | string | CreateUserContactByIdentity creates a UserContact for the specificed system using the specified Identity. Upon successful completion of the method, there shall be a newly created instance of CIM_UserContact associated to the instance of CIM_Identity specified through CIM_AssignedIdentity.
ValueMap | string | 0, 1, 2, ..
Values | string | Completed with No Error, Not Supported, Failed, Method Reserved

#### Method Parameters (CreateUserContactByIdentity)

Name | Type | Qualifiers
--- | --- | ---
Name | Data Type | Value
UserContactTemplate | string
Description | string | UserContactTemplate is a template for the desired UserContact to be created.
EmbeddedInstance | string | CIM_UserContact
Required | boolean | true
Identity | REF CIM_Identity
Description | string | A Reference to a existing CIM_Identity instance to be associated to the newly created CIM_UserContact instance.
Required | boolean | true
System | REF CIM_ComputerSystem
Description | string | The scoping ComputerSystem in which to create the Account.
Required | boolean | true
UserContact | REF CIM_UserContact
Description | string | Reference to the instance of CIM_UserContact created when the method returns a value of 0. This value shall be NULL if the method returns a value other than 0.
In | boolean | false
Out | boolean | true

#### GetAccounts (uint32)

#### Method Qualifiers (GetAccounts)

Name | Data Type | Value
--- | --- | ---
Description | string | GetAccounts will retrieve the CIM_Account reference that match the supplied UserID.
ValueMap | string | 0, 1, 2, ..
Values | string | Completed with No Error, Not Supported, Failed, Method Reserved

#### Method Parameters (GetAccounts)

Name | Type | Qualifiers
--- | --- | ---
Name | Data Type | Value
UserID | string
Description | string | The UserID for the CIM_Account instances to be retrieved.
Accounts | CIM_Account[]
Description | string | An array of references to the instances of CIM_Account that have the supplied UserID.
In | boolean | false
Out | boolean | true

#### GetUserContacts (uint32)

#### Method Qualifiers (GetUserContacts)

Name | Data Type | Value
--- | --- | ---
Description | string | GetUserContacts will retrieve the CIM_UserContact references that match the supplied UserID.
ValueMap | string | 0, 1, 2, ..
Values | string | Completed with No Error, Not Supported, Failed, Method Reserved

#### Method Parameters (GetUserContacts)

Name | Type | Qualifiers
--- | --- | ---
Name | Data Type | Value
UserID | string
Description | string | The UserID for the CIM_UserContact instances to be retrieved.
UserContacts | CIM_UserContact[]
Description | string | An array of references to the UserContact instances that have the supplied UserID.
In | boolean | false
Out | boolean | true

### Inherited Class Methods

Name | Return Type | Class Origin
--- | --- | ---
RequestStateChange | uint32 | CIM_EnabledLogicalElement
StartService | uint32 | CIM_Service
StopService | uint32 | CIM_Service