Salesforce

LDAPUserGroupAssign (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

LDAPUserGroupAssign (Magic xpa 4.x)

Adds a user to a group on the operating system directory using the Lightweight Directory Access Protocol (LDAP).

Syntax:

LDAPUserGroupAssign (user DN, group DN, [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.

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

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:

LDAPUserGroupAssign (‘CN=User1, OU=users’, ’CN=Group1, OU=groups’)

Note:

The at sign (@) cannot be used in the user name.

See also:

LDAP Authentication

Since version: 1.5 SP2

Reference
Attachment 
Attachment