[This is preliminary documentation and is subject to change.]

Gets a list of OCUserInfo objects from an LDAP server using the authentication information provided along with the base where user objects are stored. The values from the LDAP server are retrieved for which the mapping was provided between the OfficeClip OCUserInfo property names and the LDAP User property names. The mapping is used corresponding to a particular group identified by the given GroupId.

Namespace:  OfficeClip.DBLayer.Account
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public ArrayList GetLdapUsers(
	LdapAuthenticationInfo ldai,
	int groupId,
	bool importForAddressBookEntries
)
Visual Basic (Declaration)
Public Function GetLdapUsers ( _
	ldai As LdapAuthenticationInfo, _
	groupId As Integer, _
	importForAddressBookEntries As Boolean _
) As ArrayList
Visual C++
public:
ArrayList^ GetLdapUsers(
	LdapAuthenticationInfo^ ldai, 
	int groupId, 
	bool importForAddressBookEntries
)

Parameters

ldai
Type: OfficeClip.BusinessLayer.Account..::.LdapAuthenticationInfo
The LdapAuthenticationInfo object containing the name of the server and the other authentication information.
groupId
Type: System..::.Int32
The id of the group corresponding to the group for which the mapping is to be used.
importForAddressBookEntries
Type: System..::.Boolean
True if the users are to be imported into Address Book otherwise false (for Groups, Organizations and Departments).

Return Value

ArrayList of OCUserInfo objects containing data from the a particular LDAP server.

See Also