Microsoft Content Management Server - how to determine if the user can edit site?

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > November 2004 > how to determine if the user can edit site?





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 how to determine if the user can edit site?
Ael

2004-11-25, 7:46 am

Is there any way to programmatically determine if the user has the
possibility to switch to Edit site mode, in other words to determine if the
user has the 'Edit Site' link on their screen?
Thanks!
Stefan [MSFT]

2004-11-25, 5:49 pm

Hi Ael,

please check the CanCreatePostings property of the current channel.

Cheers,
Stefan.

"Ael" <Ael@discussions.microsoft.com> wrote in message
news:02E38612-E32B-4592-B137-CCE460B0E8A9@microsoft.com...
> Is there any way to programmatically determine if the user has the
> possibility to switch to Edit site mode, in other words to determine if

the
> user has the 'Edit Site' link on their screen?
> Thanks!



Jakub Skopal

2004-11-25, 5:49 pm

CmsHttpContext.Current.UserCanModifySite

Ael wrote:
> Is there any way to programmatically determine if the user has the
> possibility to switch to Edit site mode, in other words to determine if the
> user has the 'Edit Site' link on their screen?
> Thanks!

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com