Free for PREMIUM members
[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now
Private Declare Function IsNTAdmin Lib "advpack.dll" (ByVal dwReserved As Long, ByRef lpdwReserved _ As Long) As Long
Private Sub Form_Load()
Debug.Print "Are you an Administrator? " & CBool(IsNTAdmin(ByVal 0&, ByVal 0&))
Open in new window
December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.