Delphi + Active Directory (or LogonUser Win32 API)

Geschlossen Veröffentlicht Jun 20, 2009 Bezahlt bei Lieferung
Geschlossen Bezahlt bei Lieferung

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.

Delphi Ingenieurwesen Microsoft MySQL PHP Projektmanagement Softwarearchitektur Testen von Software Windows Desktop

Projekt-ID: #3948639

Über das Projekt

1 Vorschlag Remote Projekt Aktiv Jul 12, 2009

1 Freelancer bietet durchschnittlich $21 für diesen Job

gurkanvw

See private message.

$21.25 USD in 14 Tagen
(23 Bewertungen)
5.3