?
Solved

Easiest way to get all NT groups given an NT user name?

Posted on 2009-07-02
2
Medium Priority
?
268 Views
Last Modified: 2013-12-17
What's the most straight-forward way to implement a method that obtains a collection of NT groups that a user belongs to based on a user login (ie MyDomain\pmanning18) ?

Is there a simple way to do this, preferably without having to make a call to unmanaged code or making any LDAP calls?

The platform this code is targetting is a .NET 2.0 platform (and no, 3.5 is not an option)
0
Comment
Question by:priehl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
prashantagarw10 earned 2000 total points
ID: 24770578
try looking for membership provider. This is a provider which wraps around LDAP calls so you dont have to wrtie them yourself and will give you a powerful way to write the code with all information you need.

Cheers!
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The term "Bad USB" is a buzz word that is usually used when talking about attacks on computer systems that involve USB devices. In this article, I will show what possibilities modern windows systems (win8.x and win10) offer to fight these attacks wi…
Users of Windows 10 Professional can disable automatic reboots using the policy editor. This tool is not included in the Windows home edition. But don't worry! Follow the instructions below to install (a Win7) policy editor on your Windows 10 Home e…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month12 days, 14 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question