Click here to Skip to main content
15,894,405 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Win 98 Reboot Pin
David Crow15-Jul-04 8:18
David Crow15-Jul-04 8:18 
GeneralRe: Win 98 Reboot Pin
Ouenstreet15-Jul-04 9:40
Ouenstreet15-Jul-04 9:40 
GeneralDisable desktop properties Pin
Perestroyka14-Jul-04 4:17
Perestroyka14-Jul-04 4:17 
GeneralRe: Disable desktop properties Pin
Scozturk14-Jul-04 8:02
professionalScozturk14-Jul-04 8:02 
GeneralRe: Disable desktop properties Pin
David Crow14-Jul-04 10:44
David Crow14-Jul-04 10:44 
GeneralRe: Disable desktop properties Pin
ThatsAlok14-Jul-04 20:57
ThatsAlok14-Jul-04 20:57 
GeneralCreateNamedPipe permission question Pin
Anonymous14-Jul-04 4:08
Anonymous14-Jul-04 4:08 
Questionhow to validate access rights of a user on a folder?? Pin
rmmr14-Jul-04 3:43
rmmr14-Jul-04 3:43 
Hi there!!!
On my system, there is a folder which can be accessed by a specific user(e.g. auser) of my computer. Administrator group has full access rights on that folder too. The problem is I need to validate the access rights of "auser" on that folder through programming. but dont know the specific API to do that. following API can do it, but still not sure:

GetNamedSecurityInfo(...)
GetTokenInformation(...)

Using GetNamedSecurityInfo(...) API, I can get the DACL of that folder. But how can I determine which user has waht access rights on that folder????

Would appreciate any advice as how to go abt it or any code snippet.
Thanks in advance.


RM.
AnswerRe: how to validate access rights of a user on a folder?? Pin
vcplusplus14-Jul-04 4:13
vcplusplus14-Jul-04 4:13 
GeneralRe: how to validate access rights of a user on a folder?? Pin
rmmr14-Jul-04 4:41
rmmr14-Jul-04 4:41 
GeneralCString performance Pin
NMiceli14-Jul-04 3:42
NMiceli14-Jul-04 3:42 
GeneralRe: CString performance Pin
Maximilien14-Jul-04 4:08
Maximilien14-Jul-04 4:08 
GeneralRe: CString performance Pin
wb14-Jul-04 4:51
wb14-Jul-04 4:51 
QuestionAfxSetAppName( )? Pin
lucy14-Jul-04 3:33
lucy14-Jul-04 3:33 
AnswerRe: AfxSetAppName( )? Pin
Wes Aday14-Jul-04 4:39
professionalWes Aday14-Jul-04 4:39 
GeneralRe: AfxSetAppName( )? Pin
lucy14-Jul-04 5:39
lucy14-Jul-04 5:39 
AnswerRe: AfxSetAppName( )? Pin
Member 1382467115-Dec-22 7:37
Member 1382467115-Dec-22 7:37 
GeneralSend At command Pin
mark18214-Jul-04 3:32
mark18214-Jul-04 3:32 
GeneralRe: Send At command Pin
palbano14-Jul-04 5:36
palbano14-Jul-04 5:36 
GeneralRe: Send At command Pin
mark18215-Jul-04 2:48
mark18215-Jul-04 2:48 
GeneralCFileDialog - customize Pin
john john mackey14-Jul-04 3:30
john john mackey14-Jul-04 3:30 
GeneralRe: CFileDialog - customize Pin
vcplusplus14-Jul-04 4:22
vcplusplus14-Jul-04 4:22 
GeneralRe: CFileDialog - customize Pin
David Crow14-Jul-04 10:09
David Crow14-Jul-04 10:09 
GeneralMy application causing an assert in viewcore.cpp Pin
Raghunandan S14-Jul-04 3:27
Raghunandan S14-Jul-04 3:27 
GeneralRe: My application causing an assert in viewcore.cpp Pin
David Crow14-Jul-04 10:15
David Crow14-Jul-04 10:15 

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.