Search notes:

Windows: Administrators group

Checking if in Administrators group

In PowerShell, it's possible to check if one has administrator privileges with the following line. It returns either True or False.
([security.principal.windowsPrincipal] [security.principal.WindowsIdentity]::getCurrent()).isInRole([security.principal.windowsBuiltInRole]::administrator)

See also

git config

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1745367572, '160.79.110.188', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/user-account/group/Administrators/index(40): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78