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

Authenticates a given account name and password on a given LDAP Server. By default the authentication is done on the default space unless specified in the LDAP Server name.

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

Syntax

C#
public bool IsValidAccount(
	string serverName,
	string accountName,
	string accountPassword
)
Visual Basic (Declaration)
Public Function IsValidAccount ( _
	serverName As String, _
	accountName As String, _
	accountPassword As String _
) As Boolean
Visual C++
public:
bool IsValidAccount(
	String^ serverName, 
	String^ accountName, 
	String^ accountPassword
)

Parameters

serverName
Type: System..::.String
The name of the LDAP server. This value can be just a server hostname, IP Address or a fully qualified LDAP URL e.g. LDAP://myldapserver.com. It can also include a specific base e.g. LDAP://myldapserver.com/CN=Users,DC=myserser,DC=net
accountName
Type: System..::.String
Account name on the LDAP Server
accountPassword
Type: System..::.String
password corresponding to the Account Name

Return Value

True if successful, False otherwise.

See Also