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]