Microsoft Content Management Server - Editor type

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > October 2004 > Editor type





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Editor type
Mei Ying [MVP]

2004-10-28, 8:46 pm

Hi

1) You could try the technique described here to determine
if the user is an administrator:

http://groups.google.com.sg/groups?
hl=en&lr=&selm=eQKoi6FRDHA.1724%40TK2MSFTNGP10.phx.gbl

2) As long as the user belongs to a rights group that is
not a subscriber, they can see the console regardless of
whether they have been assigned rights to the container.

Nevertheless, you can hide it programmatically, just set
the .Visible property of the Console to false. E.g.

if(!CmsHttpContext.Current.Channel.CanCreatePostings)
{
MyNamespace.DefaultConsole1.Visible = false;
}

Replace MyNamespace with the namespace given to the
Console's web user control.

regards
Mei Ying
---
Blog: http://meiyinglim.blogspot.com
Contact: meiyinglim@hotmail.com
---
>-----Original Message-----
>Hi,
>
>is it possible to find out the type of editor that has
>signed in to edit an MCMS site? I want to do this so

that
>I can vary links in the edit menu between an

administrator
>and channel manager.
>
>Is it possible to show no edit console at all if a user
>does not have the right to edit that page? At the moment
>they can still switch to edit mode in the side menu even
>though they don't have the right to add / edit /delete?
>
>Cheers,
>
>Ed
>.
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com