Previous Topic: Sm_PolicyApi_DeleteHostConfig()

Next Topic: Sm_PolicyApi_DeleteODBCQueryScheme()

Sm_PolicyApi_DeleteGroup()

Deletes the group object identified by pszGroupOid.

The pszDomainOid parameter is required by a rule group or response group. An agent group does not require a domain OID because it is not a domain-based object.

Type

Group function, global scope (agents) or domain scope (responses, rules).

Syntax

int SM_EXTERN Sm_PolicyApi_DeleteGroup (
   void*                  pSessionHandle,
   Sm_PolicyApi_Groups_t  dwGroup,
   const char*            pszGroupOid,
   const char*            pszDomainOid
);

Parameter

I/O

Description

pSessionHandle

I

A pointer to an internal Policy Management API data structure. The structure holds information about the administrator session and the client session.

dwGroup

I

Indicates the type of the group to be deleted.

pszGroupOid

I

A null-terminated string containing the object identifier of the group and the type indicated by dwGroup.

pszDomainOid

I

A null-terminated string containing the object identifier of an existing domain. Required parameter for rule or response group.

Returns


Copyright © 2010 CA. All rights reserved. Email CA about this topic