1 krisbash 1.1 // Copyright (c) 2008 DMTF. All rights reserved.
2 [Version ( "2.19.0" ),
3 UMLPackagePath ( "CIM::User::Account" ),
4 Description (
5 "CIM_AccountManagementService creates, manages, and if "
6 "necessary destroys Accounts on behalf of other "
7 "SecuritySerices." )]
8 class CIM_AccountManagementService : CIM_IdentityManagementService {
9
10
11 [Description (
12 "CreateAccount creates an Account on the specified "
13 "ComputerSystem. Upon successful completion of the "
14 "method, there shall be a newly created instance of "
15 "CIM_Account associated through the CIM_AccountOnSystem "
16 "association with the instance of ComputerSystem "
17 "identified by the System parameter such that each "
18 "property of the CIM_Account instance has the value of "
19 "the corresponding property of the template instance "
20 "specified by the AccountTemplate parameter and the "
21 "CIM_Account instance is associated with this instance of "
22 krisbash 1.1 "CIM_AccountManagementService through the "
23 "CIM_ServiceAffectsElement association.\n"
24 "Instances of CIM_Identity may be created by the method "
25 "and associated with the instance of CIM_Account through "
26 "CIM_AssignedIdentity. If one or more instances of "
27 "CIM_Identity are created, a reference to each shall be "
28 "returned in the Identities parameter, otherwise the "
29 "Identities parameter shall be NULL upon method "
30 "completion." ),
31 ValueMap { "0", "1", "2", "..", "32768..65535" },
32 Values { "Completed with No Error", "Not Supported",
33 "Failed", "Method Reserved", "Vendor Specific" }]
34 uint32 CreateAccount(
35 [Required, IN, Description (
36 "The scoping ComputerSystem in which to create the Account."
37 )]
38 CIM_ComputerSystem REF System,
39 [Required, IN, Description (
40 "AccountTemplate is a template for the desired "
41 "Account to be created." ),
42 EmbeddedInstance ( "CIM_Account" )]
43 krisbash 1.1 string AccountTemplate,
44 [IN ( false ), OUT, Description (
45 "Reference to the instance of CIM_Account created "
46 "when the method returns a value of 0." )]
47 CIM_Account REF Account,
48 [IN ( false ), OUT, Description (
49 "Reference to the instances of CIM_Identity created "
50 "when the method returns a value of 0. NULL if no "
51 "such instances are created." )]
52 CIM_Identity REF Identities[]);
53
54 };
|