# tibemsLookupContext_CreateExternal

Function

## Purpose

Create a new LDAP lookup context object.

## C Declaration

    tibems_status tibemsLookupContext_CreateExternal(
        tibemsLookupContext* context,
        tibemsLookupParams lookupParams );

## COBOL Call

    CALL "tibemsLookupContext_CreateExternal"
         USING BY REFERENCE context,
               BY VALUE lookupParams,
               RETURNING tibems-status
    END-CALL.

Note: `context` and `lookupParams` have usage pointer.

## Parameters

Parameter | Description
--- | ---
`context` | Store the new lookup context object in this location.
`lookupParams` | The context object uses these parameters to connect to an LDAP server. After the function returns successfully, the calling program may delete this struct.

## See Also

`tibemsLookupContext_Create`

`tibemsLookupParams`

`tibemsLookupParams_Create`

`tibemsLookupParams_Destroy`

Copyright © Cloud Software Group, Inc. All rights reserved.