Delphi + Active Directory (or LogonUser Win32 API)
$30-5000 USD
Dibayar semasa penghantaran
a windows application is installed on a vmware partition mounted on a linux server.
The application is accessed by N remote PCs using Remote Desktop and different credentials.
I need Delphi code (to insert into my application) that will get the credentials used by the current user to access the server.
To be clear, I need to know which username and password were used when accessing the server via RD.
It would be nice to get also the mac address (or any other identifying detail) of the visiting machine.
For what I know, this can be done via LogonUser Win32 APIs (or via calls to Active Directory),
The coder will at least provide the 2 functions:
function GetCurrentUserName:string;
function GetCurrentUserPwd:string;
if possible, also
function GetCurrentUserMacAddr:string;
As a test, the coder will provide an executable with a button on it.
The test EXE will be installed on the server.
With a click on the button, 2 TEdit boxes will show the current user's name and password (hopefully the correct ones) :)
The code must work with Delphi 5.
ID Projek: #3948639