ok here goes!
im using code provided in thread222-601022
the return code from the AdjustTokenPrivilages is 1, how do i determine what the new privilages are.
i read its something to do with the NewState and PreviousState, but i dont know how to determine exactly what that means! (in other words its just a bunch of numbers to me!)
the only thing that changes is that:-
NewTokenStuff.Privilages(0).Attributes=2
does that mean i succesfully changed my Atributes???
any help appreciated!
thnx in advance!
If somethings hard to do, its not worth doing - Homer Simpson
------------------------------------------------------------------------
To get the best response to a question, please check out FAQ222-2244 first
A General Guide To Excel in VB FAQ222-3383
im using code provided in thread222-601022
the return code from the AdjustTokenPrivilages is 1, how do i determine what the new privilages are.
i read its something to do with the NewState and PreviousState, but i dont know how to determine exactly what that means! (in other words its just a bunch of numbers to me!)
the only thing that changes is that:-
NewTokenStuff.Privilages(0).Attributes=2
does that mean i succesfully changed my Atributes???
any help appreciated!
thnx in advance!
If somethings hard to do, its not worth doing - Homer Simpson
------------------------------------------------------------------------
To get the best response to a question, please check out FAQ222-2244 first
A General Guide To Excel in VB FAQ222-3383