04-27-06 12:27 PM
Hi,
unfortunatelly MCMS does not expose this in it's API.
There is no supported method to achieve this with MCMS API.
For this reason we recommend not to store users directly in MCMS rights
groups but to have one AD/NT group per rights group and to add the users to
this AD/NT group.
This will allow you to use ADSI to query to members of the associated AD/NT
group rather than the MCMS rights group.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------
"InNeedOfHelp" <InNeedOfHelp@discussions.microsoft.com> wrote in message
news:8A09BDC2-242F-4AEA-80FC-9D5CF0540A1F@microsoft.com...
> Is it possible to get a users rights group (such as the name of the group
> that the user belongs to within Autors, for instance) and role in code?
>
> I am working on a web site that is using CMS 2002. Part of the
> functionality of the site that was custom written is allowing users that
> belong to different rights group under Authors to add company's events. I
> want change this so events are entered through a datagrid. I'd like to
> maintain the relationship between the user and the events they enter. I
> need
> a way to filter events so that only the users from the same rights group
> as
> the user who added the event are able to access it.
>
> Thanks
[ Post a follow-up to this message ]
|