Solved

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

Posted on 2009-07-02
2
255 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 500 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Recently, I read that Microsoft has analysed statistics for their security intelligence report. It revealed: still, the clear majority of windows users do their daily work as administrator. An administrative account is a burden, security-wise. My ar…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

726 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