Thanks Andrey, Certainly you CAN do it from the Client Library/WebdavResource.
I found that it was easy to do in my custom store. If I want to add a user to a role all I need to do is add a collection with the same name as the user I want to add to the /slide/roles/[rolename] collection. In the storeRevisionDescriptor method of my store, when the uri points to /slide/roles/[rolename] I simply replace the "group-member-set" property on that [rolename] revision descriptor with the list of children names formatted as you have. That way the member set of the role is always easily managed by management of the child names of that collection. I would include the code, but our company policy would require I get approval before releasing and our attorney's blah blah, yadda yadda, but I am sure you get the idea. Michael Oliver CTO Matrix Intermedia Inc. 3325 N. Nellis Blvd, #1 Las Vegas, NV 89115 Phone:(702)643-7425 Fax:(520)844-1036 -----Original Message----- From: Andrey Shulinsky [mailto:[EMAIL PROTECTED] Sent: Friday, July 16, 2004 8:53 AM To: 'Slide Users Mailing List' Subject: RE: How to find out about roles ? Ah, here's the thing. I use Slide "core" API instead of the command line client. So I can easily change the value of this property like this: XMLValue xmlVal = new XMLValue(); String groupMemberSet = ""; for (int i = 0; i < userNames.size(); i++) { groupMemberSet += "<D:href xmlns:D='DAV:'>" + namespaceConfig.getUsersPath() + "/" + (String)userNames.get(i) + "</D:href> "; } xmlVal.add(groupMemberSet); revision.setProperty( new NodeProperty("group-member-set", xmlVal.getTextValue(), "DAV:")); Unfortunately I can't help with the command line client as we don't use it... Yours sincerely, Andrey. > -----Original Message----- > From: Slide Users Mailing List [mailto:[EMAIL PROTECTED] > Sent: Friday, July 16, 2004 11:25 AM > To: [EMAIL PROTECTED] > Subject: RE: How to find out about roles ? > > > > Roles have the "group-member-set" property, its value > contains URIs of > > all users that belong to this role. > > Do they? But I can not find this property. e.g. if I look > with the commandline client for > > "propget /slide/roles/manager displayname" > it returns "manager" > > but if I look for > "propget /slide/roles/manager group-member-set" > it returns an empty String. also the article on the slide > website told, that this property is not visible via webdav. why??? > > How else should roles be handled then? > > Frank > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
