LDAP

Frends.LDAP.RemoveUserFromGroups / 2.0.0

Summary

Removes a user object from several groups in one call, with control over how directory errors are handled.

Typical use — leaver and mover processing, revoking access without touching the account itself

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0
2.0.02026-10-27
Changed
  • Upgraded the Task to target .NET 8.
  • The Task now stops when the cancellation token is canceled.
  • Breaking Removed the HandleLDAPError input property; use ThrowErrorOnFailure instead.
  • Breaking Result.Error is now an object { Message, AdditionalInfo } instead of a string.
  • Breaking Task rethrows exception when occured instead of creating a new generic Exception.
Added
  • Added Options and CancellationToken parameters to the Task method.
  • Added ThrowErrorOnFailure and ErrorMessageOnFailure options. When ThrowErrorOnFailure is false, errors are returned in the result instead of being thrown.
1.1.02026-02-03
Changed
  • Improved documentation for Host parameter usage
1.0.02022-10-13
Added
  • Initial implementation
An unhandled error has occurred. Reload 🗙