TestSettings method

Test how many users and groups are found using specified information for this LDAP connection.

Syntax


C++

HRESULT TestSettings (
LONG* pUserCount ,
VARIANT_BOOL* pMaxUsers ,
LONG* pGroupCount ,
VARIANT_BOOL* pMaxGroups )

Scripting languages

Connection.TestSettings
UserCount
As Long,
MaxUsers
As Boolean,
GroupCount
As Long,
MaxGroups
As Boolean

Parameters


pUserCount

Upon return, number of users in this LDAP connection's directory.

pMaxUsers

Upon return, True if UserCount is the maximum number of users for this LDAP connection's directory.

pGroupCount

Upon return, number of groups in this LDAP connection's directory.

pMaxGroups

Upon return, True if GroupCount is the maximum number of groups for this LDAP connection's directory.

Return value


C++

The return code.

Scripting languages

None.

Home

Applies to

IERULDAPConnection