Getting user roles
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Getting user roles




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Getting user roles  
InNeedOfHelp


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-06 12:27 PM

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 nee
d
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 ]



    Re: Getting user roles  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Re: Getting user roles  
InNeedOfHelp


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-06 12:27 PM

Will I be able to identify which users have authoring rights and which users
have administrative rights?  The way it is currently working when a person
creates a new event it has to be ratified by an administrator before it is
posted so I will need to be able to tell what a users role is.

Thanks

"Stefan [MSFT]" wrote:

> 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 t
o
> this AD/NT group.
>
> This will allow you to use ADSI to query to members of the associated AD/N
T
> 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[/url...nyurl.com/8ugwj
> ----------------------
>
>
> "InNeedOfHelp" <InNeedOfHelp@discussions.microsoft.com> wrote in message
> news:8A09BDC2-242F-4AEA-80FC-9D5CF0540A1F@microsoft.com... 
>
>
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:32 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register