For the complete documentation index, see llms.txt. This page is also available as Markdown.

CreateUser

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

Task Parameters

Name
Description

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

Task Result

Name
Description

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

Task Changelog

Changelog for Task Frends.LDAP.CreateUser.

[1.2.0] - 2026-02-03

Changed

  • Improved documentation for Host parameter usage

[1.1.0] - 2025-09-26

Updated

  • Added option to set the password for the new user in Unicode.

[1.0.0] - 2022-09-23

Added

  • Initial implementation

Last updated

Was this helpful?