Hi All,
Need to know if current (logged-in) user is an administrator in Windows 10. In Windows 10, a user can never have "true" (super administrator) privileges, but can have administrator privileges for software installation, etc. This is why some of the older APIs work (e.g. IsUserAnAdmin()), in Windows 7, but not in Windows 10.
Does anyone have code they can share which works on Windows 10. I think something that indicates if the current user is in the administrator group.
Need to know if current (logged-in) user is an administrator in Windows 10. In Windows 10, a user can never have "true" (super administrator) privileges, but can have administrator privileges for software installation, etc. This is why some of the older APIs work (e.g. IsUserAnAdmin()), in Windows 7, but not in Windows 10.
Does anyone have code they can share which works on Windows 10. I think something that indicates if the current user is in the administrator group.