Click here to Skip to main content
15,915,869 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWeb Detector??? Pin
Daron Tan14-Jul-04 6:00
Daron Tan14-Jul-04 6:00 
AnswerRe: Web Detector??? Pin
Scozturk14-Jul-04 8:01
professionalScozturk14-Jul-04 8:01 
QuestionConstructive Solid Geometry C++ classes… ? Pin
anderslundsgard14-Jul-04 5:30
anderslundsgard14-Jul-04 5:30 
AnswerRe: Constructive Solid Geometry C++ classes… ? Pin
ahmadkabani14-Jul-04 5:59
ahmadkabani14-Jul-04 5:59 
GeneralRe: Constructive Solid Geometry C++ classes… ? Pin
anderslundsgard14-Jul-04 20:28
anderslundsgard14-Jul-04 20:28 
GeneralWin 98 Reboot Pin
Ouenstreet14-Jul-04 5:28
Ouenstreet14-Jul-04 5:28 
GeneralRe: Win 98 Reboot Pin
vcplusplus14-Jul-04 6:10
vcplusplus14-Jul-04 6:10 
GeneralRe: Win 98 Reboot Pin
Ouenstreet14-Jul-04 7:47
Ouenstreet14-Jul-04 7:47 
GeneralRe: Win 98 Reboot Pin
David Crow14-Jul-04 10:00
David Crow14-Jul-04 10:00 
GeneralRe: Win 98 Reboot Pin
Ouenstreet14-Jul-04 10:20
Ouenstreet14-Jul-04 10:20 
GeneralRe: Win 98 Reboot Pin
David Crow14-Jul-04 10:35
David Crow14-Jul-04 10:35 
GeneralRe: Win 98 Reboot Pin
Ouenstreet15-Jul-04 6:12
Ouenstreet15-Jul-04 6:12 
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 

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.