# tibemsLookupParams_SetLdapConnType

Function

## Purpose

Set the LDAP connection type.

## C Declaration

    tibems_status tibemsLookupParams_SetLdapConnType(
        tibemsLookupParams lparams,
        const char* type );

## IBM Systems

This function is not supported on z/OS and IBM i systems.

## Parameters

Parameter | Description
--- | ---
`lparams` | Set the property in this parameter object.
`type` | Set the property to this type. When this value is not set, it specifies a simple (non-secure) connection. Either "ldaps" or "startTLS" specify secure connections.

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