Announcement Announcement Module
Collapse
No announcement yet.
GroupOfNames Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • GroupOfNames

    Does the ldaptemplate support GroupOfNames functionality.
    For example a role objectClass which is a groupOfNames
    and contains the following attributes

    cn=SuperUser
    member=cn=Administrator,ou=roles
    member=cn=Operator,ou=roles

    Cheers,
    Tim

  • #2
    There's really nothing special with the GroupOfNames objectclass. Just set multiple values to the 'member' attribute. The easiest way is to use DirContextAdapter and the setAttributeValues() method, but there's always the option of building the Attributes manually if you'd rather do that.

    Comment

    Working...
    X