How to add a user to a group,i dint find any suitable information in
for java programmer's guide.
Using Java SDK we do by calling createSubcontext(DN,Attributes) or
bind(DN,Attributes) on DirContext but how to do with Netscape SDK??
My piece of code looks like
---------------------------------------
String ENTRYDN = "uid=panda,ou=members,o=iamroot";
/* Create an entry with this DN and these attributes . */
LDAPEntry myEntry = new LDAPEntry( ENTRYDN, attrs );
ldap.add(myEntry);
---------------------------------------
I want this user to belong to 'facility user' in my o = iamroot,ou=groups
and cn=all facility.
How to do this??
It will be a great help,
Thanks
-Panda