CreateUser
Create a user to Active Directory.
Last updated
Was this helpful?
Create a user to Active Directory.
Task version: 1.2.0
Required Frends version: 5.5+
Required .NET version: 6.0
Compatible Agents: Crossplatform
Source code: https://github.com/FrendsPlatform/Frends.LDAP
ObjectClass : String
ObjectClass.
Default: -
Example: User
Path : String
Directory path.
Default: CN=Users,DC=Example,DC=Com
Example: CN=Users,DC=Example,DC=Com
GivenName : String
Given name.
Default: -
Example: Firstname
Surname : String
Surname (SN).
Default: -
Example: Lastname
CommonName : String
Common name (CN).
Default: -
Example: Firstname Lastname
Email : String
Email.
Default: -
Example: firstname.lastname@foo.bar
SetPassword : Boolean
Set password to new user.
Default: -
Example: true
SetPasswordInUnicode : Boolean
Password can be added to the unicodePwd field as a byte[] type
Requires connection.SecureSocketLayer or connection.TLS.
Default: False
Example: true
🗝Password : String
Password.
Default: -
Example: Password123
Attributes : Attributes[]
Custom attribute values.
Default: -
Example: Telephone, +358123456789
Host : String
LDAP server host.
This must resolve to a Domain Controller (FQDN) in the same domain
where the new object (user) will be created.
Default: -
Example: dc1.emea.company.com
Port : Int32
Port. Value 0 = use LDAP/LDAPS default port which is 389 or 636 depending on (SecureSocketLayer) and (TLS).
Default: 0
Example: 389
SecureSocketLayer : Boolean
Perform secure operation.
Default: -
Example: true
TLS : Boolean
Connection is protected by TLS.
Default: -
Example: true
User : String
User.
Default: -
Example: Foo
🗝Password : String
Password.
Default: -
Example: Bar123
Success : Boolean
User created.
Example: true
Error : String
LDAP Error message.
Example: Entry Already Exists
CommonName : String
Common name.
Example: Firstname Lastname
PasswordSet : Boolean
Password set.
Example: true
Path : String
Path.
Example: CN=Users,DC=Example,DC=Com
Changelog for Task Frends.LDAP.CreateUser.
Improved documentation for Host parameter usage
Added option to set the password for the new user in Unicode.
Initial implementation
Last updated
Was this helpful?
Was this helpful?

