Microsoft Content Management Server - VB.Net -> Check if a user belongs to an Active Directory Group

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > May 2005 > VB.Net -> Check if a user belongs to an Active Directory Group





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 VB.Net -> Check if a user belongs to an Active Directory Group
Ana

2005-05-11, 5:54 pm

Hello everybody!!
I need some help with CMS. I have to check if a user is connected to a CMS
session belongs to a particular group of my active directory.
Any ideas?
Thanks a lot!
Ana
Stefan [MSFT]

2005-05-11, 5:54 pm

Hi Ana,

that is not a MCMS related question but a AD related question.
You should post to an AD related newsgroup.

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
----------------------


"Ana" <Ana@discussions.microsoft.com> wrote in message
news:0F22682C-D2EF-43C0-ACB9-EDA096636361@microsoft.com...
> Hello everybody!!
> I need some help with CMS. I have to check if a user is connected to a CMS
> session belongs to a particular group of my active directory.
> Any ideas?
> Thanks a lot!
> Ana



Jim O'Neill

2005-05-12, 7:51 am

Hi,

use HttpContext.Current.User.IsInRole(GroupName);

Jim
"Ana" <Ana@discussions.microsoft.com> wrote in message
news:0F22682C-D2EF-43C0-ACB9-EDA096636361@microsoft.com...
> Hello everybody!!
> I need some help with CMS. I have to check if a user is connected to a CMS
> session belongs to a particular group of my active directory.
> Any ideas?
> Thanks a lot!
> Ana



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com