Previous Topic: Sm_PolicyApi_Logout()

Next Topic: Search Expression Grammar for an LDAP Namespace

Sm_PolicyApi_LookupDirectoryEntry()

Looks up the user specification in a user directory.

pszSearchPattern holds the search pattern for the lookup. User directory searches vary for each type of user directory namespaces.

Type

User directory function, global scope.

Syntax

int SM_EXTERN Sm_PolicyApi_LookupDirectoryEntry (
   void*                   pSessionHandle,
   const char*             pszUserDirOid,
   const char*             pszSearchPattern,
   Sm_PolicyApi_User_t**   ppStructUserSpec
);

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.

pszUserDirOid

I

A null-terminated string containing the object identifier of the user directory where lookup is to be performed.

pszSearchPattern

I

A null-terminated string containing the search pattern for the lookup. Information about the search expression grammar for different namespace types appears in the section below.

ppStructUserSpec

O

The address of a pointer to a user structure.


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