Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  

LDAP.Add

Adds an entry to a tree.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
LDAP 6.0 Yes Yes Yes Yes No

MBS( "LDAP.Add"; LDAPRef; dn; Type { ; Value } )

Parameters

Parameter Description Example value
LDAPRef The reference number for the LDAP connection. $ldap
dn The name of the entry to add.
Type The name of the attribute to add.
Value Optional
The value for the attribute.

Result

Returns OK or error.

Description

Adds an entry to a tree.
The parent of the entry being added must already exist or the parent must be empty (equal to the root distinguished name) for an add operation to succeed.

With 6.4 plugin you can pass several more value parameters to form a list of values.

Examples

Add a value:

MBS( "LDAP.Add"; $ldap; "test"; "cn"; "Hello" )

Add a value with 3 values:

MBS( "LDAP.Add"; $ldap; "test"; "cn"; "Hello"; "World"; "test" )

See also


LCMS.ProfileInfo   -   LDAP.AddList

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins