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

Updates the LDAP Account Name corresponding to a user identified by the userId.

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

Syntax

C#
public int UpdateLdapAccountName(
	int userId,
	string ldapAccountName
)
Visual Basic (Declaration)
Public Function UpdateLdapAccountName ( _
	userId As Integer, _
	ldapAccountName As String _
) As Integer
Visual C++
public:
int UpdateLdapAccountName(
	int userId, 
	String^ ldapAccountName
)

Parameters

userId
Type: System..::.Int32
Id of the user for whom the LDAP Account Name has to be updated.
ldapAccountName
Type: System..::.String
LDAP account name to be udpated.

Return Value

0 if successful, -1 in case of an error.

See Also