public final class UpdateGroup extends Object
groupOfNames such as:
dn: cn=My Static Group,ou=Groups,dc=example,dc=com cn: My Static Group objectClass: groupOfNames objectClass: top ou: Groups member: uid=ahunter,ou=People,dc=example,dc=com member: uid=bjensen,ou=People,dc=example,dc=com member: uid=tmorris,ou=People,dc=example,dc=comThis client connects as
cn=Directory Manager with password
password. Not a best practice; in real code use application
specific credentials to connect, and ensure that your application has access
to use the Permissive Modify control if your directory server supports it.| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Connect to the directory server to update the group.
|
public static void main(String[] args)
args - The command line arguments: host, port, group-dn, member-dn,
{add|del}Copyright © 2017-2020 Wren Security. All Rights Reserved.