LDAP

Frends.LDAP.AddUserToGroups / 3.0.0

Summary

Adds a user object to several groups in one call, and decides how to treat memberships that already exist.

Typical use — joiner and mover provisioning, where tolerating existing memberships makes the Process safe to re-run

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0
3.0.02026-10-27
Changed
  • Task now requires the new Options parameter with ThrowErrorOnFailure and ErrorMessageOnFailure properties. By default the Task still throws on failure.
  • Breaking Result.Error is now an object with Message and AdditionalInfo instead of a string. It is populated when ThrowErrorOnFailure is false.
  • Updated the Task to target .NET 8.
2.1.02026-02-03
Changed
  • Improved documentation for Host parameter usage
2.0.02026-01-29
Changed
  • Breaking Input: Changed GroupDistinguishedName (string) to GroupDistinguishedNames (string[]) to support adding users to multiple groups in a single operation.
  • Result: Added Details property for operation details. Error now only contains error messages for failures.
1.2.02025-11-20
Fixed
  • Fixed LDAP exception when adding duplicate users with skip option enabled.
1.1.02025-08-13
Fixed
  • Fixed KeyNotFoundException when checking empty groups for existing users.
1.0.12024-03-01
Fixed
  • Fixed issue with UserExistsAction parameter when AD returned another error message by adding method to actually check if the user is in the group.
1.0.02022-10-07
Added
  • Initial implementation
An unhandled error has occurred. Reload 🗙