Previous Topic: Sm_PolicyApi_InitEx()

Next Topic: Sm_PolicyApi_Login()

Sm_PolicyApi_IsGroup()

Determines whether an item is a group.

Type

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

Syntax

int SM_EXTERN Sm_PolicyApi_IsGroup (
   void*                   pSessionHandle,
   Sm_PolicyApi_Groups_t   dwGroup,
   const char*             pszOid,
   const char*             pszDomainOid,
   bool*                   bIsGroup
);

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 object.

pszOid

I

A null-terminated string containing the object identifier of the item to check.

pszDomainOid

I

A null-terminated string containing the object identifier of an existing domain.

bIsGroup

O

A pointer to a boolean value. true if the pszOid object is a group.

Returns


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