Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IsUserAnAdmin
Message
De
06/06/2011 10:45:25
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
01175372
Message ID:
01513039
Vues:
61
>>>>Not without more research into the active directory API which I don't have the extra time for right now. I tend to just go with what works and the code I posted works. I would certainly be interested if you find alternatives - please post them! :o)
>>>>
>>>>
>>>>>Is there any other method you can think of to determine if the current user has admin rights in Win2K?
>>>>>
>>>>>Laterness,
>>>>>Jon
>>>
>>>Do you know how can I find the directory rights?
>>>
>>>Thanks in advance.
>>
>>groups, folders or what?
>
>I want to find out, if the user currently logged in has read-write access to the directory. In other words, I want to return the attributes for the directory for the current user.

Try here:
http://weblogs.foxite.com/stuartdunkeld/archive/2005/08/05/857.aspx

If not there, I haven't looked at this in a LONG time...
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform