Salesforce

LDAPUserModify (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

LDAPUserModify (Magic xpa 4.x)

Updates the user details on the operating system directory using the Lightweight Directory Access Protocol (LDAP).

Syntax:

LDAPUserModify (user DN, attribute, value, [LDAP connection handle])

Parameters:

user DN – The user distinguished name in LDAP. If the Domain Component (DC) is not specified, it will be taken from the connection details.

attribute – An Alpha variable that defines the attribute required.

value – A BLOB variable that defines the value required. Unicode or ANSI content is saved as a textual value; all other types of content are saved as binary values. Setting the value to Null() will delete the value from LDAP.

LDAP connection handle – Optional. If this parameter is 0 or missing, the function will act using the connection from the LOGON. If this parameter is positive, the function will act using the connection from this handle.

Returns:

Logical – True for success

Example:

LDAPUserModify (’CN=User1, OU=users’, ‘First name’, ’newname’)

Note:

Modifying a user password with the LDAPUserModify function over SSL only works if the current user is Administrator.

See also:

LDAP Authentication

Since version: 1.5 SP2

Reference
Attachment 
Attachment