文件操作 - CIM_AccountManagementService.mof
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/mof/cimv2.33.0/User/CIM_AccountManagementService.mof
编辑文件内容
// Copyright (c) 2012 DMTF. All rights reserved. [Version ( "2.33.0" ), UMLPackagePath ( "CIM::User::Account" ), Description ( "CIM_AccountManagementService creates, manages, and if " "necessary destroys Accounts on behalf of other " "SecuritySerices." )] class CIM_AccountManagementService : CIM_IdentityManagementService { [Description ( "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.\n" "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 { "0", "1", "2", "..", "32768..65535" }, Values { "Completed with No Error", "Not Supported", "Failed", "Method Reserved", "Vendor Specific" }] uint32 CreateAccount( [Required, IN, Description ( "The scoping ComputerSystem in which to create the Account." )] CIM_ComputerSystem REF System, [Required, IN, Description ( "AccountTemplate is a template for the desired " "Account to be created." ), EmbeddedInstance ( "CIM_Account" )] string AccountTemplate, [IN ( false ), OUT, Description ( "Reference to the instance of CIM_Account created " "when the method returns a value of 0." )] CIM_Account REF Account, [IN ( false ), OUT, Description ( "Reference to the instances of CIM_Identity created " "when the method returns a value of 0. NULL if no " "such instances are created." )] CIM_Identity REF Identities[]); [Experimental, Description ( "CreateUserContact creates a UserContact for the " "specificed system. Upon successful completed 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 { "Completed with No Error", "Not Supported", "Failed", "Method Reserved" }, Values { "0", "1", "2", ".." }] uint32 CreateUserContact( [Required, Description ( "The scoping ComputerSystem in which to create the Account." )] CIM_ComputerSystem REF System, [Required, Description ( "UserContactTemplate is a template for the desired " "UserContact to be created" ), EmbeddedInstance ( "CIM_UserContact" )] string UserContactTemplate, [Out, Description ( "Reference to the instance of CIM_Account created " "when the method returns a value of 0" )] CIM_UserContact REF UserContact, [Out, Description ( "Reference to the instances of CIM_Identity created " "when the method returns a value of 0. NULL if no " "such instances are created." )] CIM_Identity REF Identities[]); [Experimental, Description ( "GetAccount will retrieve a CIM_Account reference for the " "supplied UserID." ), ValueMap { "Completed with No Error", "Not Supported", "Failed", "Method Reserved" }, Values { "0", "1", "2", ".." }] uint32 getAccount( [Description ( "The UserID for the CIM_Account to be retrieved." )] string UserID, [Out, Description ( "The reference to the instance of CIM_Account that " "has the supplied UserID" )] CIM_Account REF Account); [Experimental, Description ( "GetUserContact will retrieve a CIM_UserContact reference " "for the supplied UserID." ), ValueMap { "Completed with No Error", "Not Supported", "Failed", "Method Reserved" }, Values { "0", "1", "2", ".." }] uint32 getUserContact( [Description ( "The UserID for the CIM_UserContact to be retrieved." )] string UserID, [Out, Description ( "The reference to the instance of CIM_UserContact " "that has the supplied UserID." )] CIM_UserContact REF UserContact); };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件