//---------------------------------------------------------------------------- // // Copyright (c) Intel Corporation, 2003 - 2012 All Rights Reserved. // // File: CIM_RoleBasedAuthorizationService.cs // // Contents: The CIM_RoleBasedAuthorizationService class represents the authorization service that manages and configures roles on a managed system. The CIM_RoleBasedAuthorizationService is responsible for creating, and deleting CIM_Role instances. Privileges of the roles are represented through the instance(s) of CIM_Privilege class associated to CIM_Role instances through the CIM_MemberOfCollection association. As a result of creating, and deleting CIM_Role instances the CIM_Privilege instances can also be affected. The limiting scope of the role is determined by the CIM_RoleLimitedToTarget association. // This file was automatically generated from CIM_RoleBasedAuthorizationService.mof // //---------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; using System.Globalization; using System.Xml.Serialization; using System.IO; using Intel.Manageability.WSManagement; using Intel.Manageability.Cim.Untyped; namespace Intel.Manageability.Cim.Typed { /// ///The CIM_RoleBasedAuthorizationService class represents the authorization service that manages and configures roles on a managed system. The CIM_RoleBasedAuthorizationService is responsible for creating, and deleting CIM_Role instances. Privileges of the roles are represented through the instance(s) of CIM_Privilege class associated to CIM_Role instances through the CIM_MemberOfCollection association. As a result of creating, and deleting CIM_Role instances the CIM_Privilege instances can also be affected. The limiting scope of the role is determined by the CIM_RoleLimitedToTarget association. /// [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_RoleBasedAuthorizationService")] [System.Xml.Serialization.XmlRootAttribute("CIM_RoleBasedAuthorizationService", Namespace="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_RoleBasedAuthorizationService", IsNullable=false)] public class CIM_RoleBasedAuthorizationService : CIM_PrivilegeManagementService { /// /// Default constructor. /// public CIM_RoleBasedAuthorizationService() :base() { } /// /// Constructor that recieves an xml string for deserialization. /// /// xml string to deserialize public CIM_RoleBasedAuthorizationService(string xml): base((IWSManClient)null) { this.Deserialize(xml); } /// /// Constructor which recieves a Ws-Management client object. /// /// Ws-Management client public CIM_RoleBasedAuthorizationService(IWSManClient client): base(client) { } /// /// Enumerate instances of CIM_RoleBasedAuthorizationService class at an endpoint. /// /// WS-Management client /// Keys for selecting the instances /// Collection of CIM_RoleBasedAuthorizationService objects public static new Collection Enumerate(IWSManClient client, CimBase.CimKeys cimKeys) { List ret = CimBase.Enumerate(client, cimKeys); return new Collection(ret); } /// /// Enumerate instances of CIM_RoleBasedAuthorizationService class at an endpoint. /// /// WS-Management client /// Collection of CIM_RoleBasedAuthorizationService objects public static new Collection Enumerate(IWSManClient client) { List ret = CimBase.Enumerate(client); return new Collection(ret); } /// /// Delete the instance of CIM_RoleBasedAuthorizationService if it is singular. /// Note: This method will succeed only if a single instance of the class exists. /// /// WS-Management client public static new void Delete(IWSManClient client) { CimBase.Delete(client); } /// /// Represents the keys of the CIM_RoleBasedAuthorizationService class. /// public new class CimKeys : CIM_PrivilegeManagementService.CimKeys { } } }