Delphi + Active Directory (or LogonUser Win32 API)

Ditutup Disiarkan Jun 20, 2009 Dibayar semasa penghantaran
Ditutup 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.

Delphi Kejuruteraan Microsoft MySQL PHP Pengurusan Projek Kejuruteraan Perisian Ujian Perisian Destop Windows

ID Projek: #3948639

Tentang projek

1 cadangan Projek jarak jauh Aktif Jul 12, 2009

1 pekerja bebas membida secara purata $21 untuk pekerjaan ini

gurkanvw

See private message.

$21.25 USD dalam 14 hari
(23 Ulasan)
5.3