Page 2 of 2

Re: User rights on a Vista OS

PostPosted: Mon Oct 01, 2012 6:44 pm
by lucasdebeltran
Enrico,

Sorry, i was not ignoring you, I wanted to remove all warnings.

Lautaro, thank you very much, the function works perfect!!.

Thank you both.

Re: User rights on a Vista OS

PostPosted: Tue Oct 02, 2012 6:54 am
by StefanHaupt
Lautaro wrote:Hello,
Harbour have WAPI_ISUSERANADMIN() funcion in hbwin.


Be careful, this API-Function dos only work till Windows Vista, it does not work anymore with Windows 7 and above.

From the Msdn docs:
Requirements

Minimum supported client
Windows XP

Minimum supported server
Windows Server 2003

End of client support
Windows Vista

End of server support
Windows Server 2008

Re: User rights on a Vista OS

PostPosted: Mon Sep 12, 2022 11:44 am
by VictorCasajuana
StefanHaupt wrote:
Lautaro wrote:Hello,
Harbour have WAPI_ISUSERANADMIN() funcion in hbwin.


Be careful, this API-Function dos only work till Windows Vista, it does not work anymore with Windows 7 and above.

From the Msdn docs:
Requirements

Minimum supported client
Windows XP

Minimum supported server
Windows Server 2003

End of client support
Windows Vista

End of server support
Windows Server 2008


in this link does not indicate that support for this function has ended: https://docs.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-isuseranadmin