LDAP

Frends.LDAP.RemoveUserFromGroups / 1.1.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.5 and newer
Agent
Crossplatform
Target framework
net6.0

Input parameters.

Name Type Default Example Description
UserDistinguishedName String CN=Tes Tuser,ou=users,dc=wimpi,dc=net

User's distinguished name (DN)

GroupDistinguishedName String cn=admin,ou=roles,dc=wimpi,dc=net

Group's distinguished name (DN)

HandleLDAPError HandleLDAPError Throw HandleLDAPError.Throw

How to handle LDAP errors.

Possible values:

  • Throw: Throw an error.

  • Skip: Do nothing and add LDAP error message to the task's result.

An unhandled error has occurred. Reload 🗙