Is administrator account
Is administrator account
Is there any function to know if the windows-user-account is local or administrator?
thanks
thanks
Re: Is administrator account
IsUserAnAdmin_()
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Is administrator account
Thanks, but it return 0, and i AM administrator!!
Re: Is administrator account
Set compiler option 'Request Administrator mode...'
Code: Select all
r1 = IsUserAnAdmin_()
If r1
MessageRequester("Info", "Is Admin")
Else
MessageRequester("Info", "Is not Admin")
EndIf
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Is administrator account
Much thanks
Re: Is administrator account
Sorry, I did not require
[x] Request Administrator mode for Windows Vista and above.
on Windows 10. But, I have UAC off.
[x] Request Administrator mode for Windows Vista and above.
on Windows 10. But, I have UAC off.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Is administrator account
Not good idea the UAC switch offskywalk wrote:Sorry, I did not require
[x] Request Administrator mode for Windows Vista and above.
on Windows 10. But, I have UAC off.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Is administrator account
I do use other means of protection.
Constant UAC prompts are no protection if I pick up my computer and throw it against a wall.
Constant UAC prompts are no protection if I pick up my computer and throw it against a wall.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Is administrator account
Why be loud ...
If you use a different protection, that is good
But as a first protection, I consider UAC to be useful. If not as last protection.
So everyone has his opinion
If you use a different protection, that is good
But as a first protection, I consider UAC to be useful. If not as last protection.
So everyone has his opinion
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Is administrator account
Haha, not being loud at you. I was trashing UAC, the thief of clicks.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Is administrator account
That totally defeats the purpose. Use IsUserAdmin_() instead.mk-soft wrote:Set compiler option 'Request Administrator mode...'
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Is administrator account
UAC is a nightmare! I have wasted a countless number of hours helping CAD-CAM customers whose PC grinds to a standstill with UAC deployed.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.