
January 7th, 2008, 03:28 PM
|
 |
Senior Sarcasm Wizardess
|
|
Join Date: Feb 2005
Location: Dreamland
|
|
|
VBScript - Check User Permissions on Share Directory
Is there a way to check if a particular windows user has access to a specific directory on a network share? I need to be able to pass a user name and directory and return a true/false value. I've been playing with various codes that I have found on the internet and none seem to do what I need it to do.
Or is there a way to capture the Windows "Access denied" error that displays when a user clicks a directory they don't have access to?
Thanks for any info anyone can shed on this.
__________________
Come JOIN the party!!!
Quote of the Month:
Trouble: Luck can't last a lifetime unless you die young.
Questions to Ponder:
Do cemetery workers prefer the graveyard shift?
iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm")
copyright© 2008 sbenj69
|