Previous Topic: Sm_PolicyApi_RemoveUsersFromWSFEDResourcePartner()

Next Topic: Sm_PolicyApi_SetAffiliateDomainUserDirSearchOrder()

Sm_PolicyApi_RenameObject()

Renames a domain or global object.

This function requires the Object Identifier (OID) of the object to be renamed. You can retrieve the object identifier by performing the Get operation on the object.

Type

General object function.

Syntax

int SM_EXTERN Sm_PolicyApi_RenameObject (
   void*          pSessionHandle,
   const char*    pszOid,
   const char*    pszNewName
);

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.

pszOid

I

Object Identifier of the object to be renamed.

pszNewName

I

New name for the object.

Returns


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