CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Active Directory Group

Print topic Send  topic

Author Message
rbaldwin

Posts: 172
Posted: 02/06/2009, 6:22 AM

I get the user's windows login from
Request.ServerVariables("LOGON_USER")
which is working fine.

I'd like to also determine if the LOGON_USER is a member of an Acive Directory Group.

Can someone point me to vb.net code that would return a list of groups to which the user belongs?
View profile  Send private message
akhan


Posts: 38
Posted: 02/16/2009, 2:40 AM

  
If User.IsInRole("DOMAIN\GROUP") Then  
 ...  
End If   

_________________
"Simplicity is the key to brilliance” (bruce lee)
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.