How i can show if my qt application is running like user or with admin rights



  • Hello i'm doing one program where you can open text files and read them will be shown in a wall paper and you can change the color of text format etc but want to make one button to show at the user if the program is running like admin or running like user in Qt. So i will do one if to check if it is running the application with admin rights or user and then show at the user with one button, is possible? Thanks in advance! Or what you recommend to add this feature! thx again!



  • Hi! This depends on the operating system. Qt has no features for this.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.