Salesforce

LDAPUserGroupRemove (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

LDAPUserGroupRemove (Magic xpa 4.x)

Removes a user from a group from the operating system directory using the Lightweight Directory Access Protocol (LDAP).

Syntax:

LDAPUserGroupRemove (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:

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

See also:

LDAP Authentication

Since version: 1.5 SP2

Reference
Attachment 
Attachment