Microsoft Content Management Server - How do I test if the current user is authenticated?

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > February 2004 > How do I test if the current user is authenticated?





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 do I test if the current user is authenticated?
Justin

2004-02-27, 2:34 am

Hi all,

I need to hide/show login/logout buttons based upon whether the current
user/subscriber has been authenticated by CMS. How can I test for this?

Thanks
Justin


Stefan [MSFT]

2004-02-27, 10:35 am

Hi Justin,

use CmsHttpContext.Current.IsLoggedInAsGuest.

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Justin" <speedracer909@hotmail.com> wrote in message
news:eGc#3FQ$DHA.3712@tk2msftngp13.phx.gbl...
> Hi all,
>
> I need to hide/show login/logout buttons based upon whether the current
> user/subscriber has been authenticated by CMS. How can I test for this?
>
> Thanks
> Justin
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com