Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionStrategy Question Pin
Parker M cCauley3-Apr-09 13:40
Parker M cCauley3-Apr-09 13:40 
AnswerRe: Strategy Question Pin
Iain Clarke, Warrior Programmer3-Apr-09 22:58
Iain Clarke, Warrior Programmer3-Apr-09 22:58 
QuestionRe: Strategy Question Pin
Parker M cCauley4-Apr-09 13:04
Parker M cCauley4-Apr-09 13:04 
AnswerRe: Strategy Question Pin
Iain Clarke, Warrior Programmer5-Apr-09 22:37
Iain Clarke, Warrior Programmer5-Apr-09 22:37 
GeneralRe: Strategy Question Pin
Parker M cCauley6-Apr-09 2:05
Parker M cCauley6-Apr-09 2:05 
GeneralRe: Strategy Question Pin
Iain Clarke, Warrior Programmer6-Apr-09 2:25
Iain Clarke, Warrior Programmer6-Apr-09 2:25 
GeneralRe: Strategy Question Pin
Parker M cCauley6-Apr-09 2:35
Parker M cCauley6-Apr-09 2:35 
Questiongetting nested groups from AD with win32 API Pin
Jasmine Pomelo3-Apr-09 9:03
Jasmine Pomelo3-Apr-09 9:03 
I have been searching the internet for days trying to figure this out and the only thing I can find is other people with this problem and no resolution.

I am writing a C++ application that does not require .NET of any kind.

I can get the currently logged in users information using the NetWkstaUserGetInfo() API call. I then pass the username and domain to the NetUserGetGroups() function and can get back the groups that the user is a member of, but it doesn't show nested groups.

Example:

Group 1
|____Group A
|____*User1*
Group 2
|____Group B
|____*User1*

If a user, *User1*, is a member of "Group A" and a member of "Group 2" I would like for the function to return:
Group A (explicit membership)
Group 1 (implicit membership thru Group A)
Group 2 (explicit membership)

Right now it is only showing:
Group A (explicit membership)
Group 2 (explicit membership)


Please tell me someone has done this before without .NET!Confused | :confused:
AnswerRe: getting nested groups from AD with win32 API Pin
David Crow3-Apr-09 10:47
David Crow3-Apr-09 10:47 
GeneralRe: getting nested groups from AD with win32 API Pin
led mike3-Apr-09 11:42
led mike3-Apr-09 11:42 
QuestionUnion Pin
_80863-Apr-09 7:39
_80863-Apr-09 7:39 
AnswerRe: Union Pin
David Crow3-Apr-09 8:10
David Crow3-Apr-09 8:10 
GeneralRe: Union Pin
_80863-Apr-09 8:20
_80863-Apr-09 8:20 
AnswerRe: Union Pin
CPallini3-Apr-09 8:19
mveCPallini3-Apr-09 8:19 
GeneralRe: Union Pin
_80863-Apr-09 8:23
_80863-Apr-09 8:23 
GeneralRe: Union Pin
led mike3-Apr-09 8:27
led mike3-Apr-09 8:27 
GeneralRe: Union Pin
_80863-Apr-09 8:35
_80863-Apr-09 8:35 
AnswerRe: Union Pin
Iain Clarke, Warrior Programmer3-Apr-09 23:59
Iain Clarke, Warrior Programmer3-Apr-09 23:59 
QuestionWriting the interface definatinon inside the libaray in .idl file Pin
pandit843-Apr-09 4:57
pandit843-Apr-09 4:57 
AnswerRe: Writing the interface definatinon inside the libaray in .idl file Pin
Roger Stoltz3-Apr-09 5:52
Roger Stoltz3-Apr-09 5:52 
Question(cPallini) Why "Save" menu item is ALWAYS disable? Pin
Joseph Marzbani3-Apr-09 4:46
Joseph Marzbani3-Apr-09 4:46 
AnswerRe: (cPallini) Why "Save" menu item is ALWAYS disable? Pin
CPallini3-Apr-09 5:27
mveCPallini3-Apr-09 5:27 
AnswerRe: (cPallini) Why "Save" menu item is ALWAYS disable? Pin
led mike3-Apr-09 5:30
led mike3-Apr-09 5:30 
QuestionRe: (cPallini) Why "Save" menu item is ALWAYS disable? Pin
David Crow3-Apr-09 6:34
David Crow3-Apr-09 6:34 
AnswerRe: (cPallini) Why "Save" menu item is ALWAYS disable? Pin
Joseph Marzbani3-Apr-09 7:16
Joseph Marzbani3-Apr-09 7:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.