You'll have to find out first how SAP employeeid (or any other attribute) is linked to AD user info.
>
>Thank you for your quick answer!
>I don't know, wether i described my problem well enought.
>
>I our SAP System i have a employeeid (4700111 for example, name albert beermann)
>SAP knows nothing about windows usernames (loginname) (superfool for example)
>In our AD the user superfool has an emplyeeid ( 4700111 )
>
>I scan over a cursor with a lot of employeeids, have to find the appendant record in our AD
>and mix some SAP infos with some AD infos into a application table.
>
>I don't know how to find the window user with the employeeid 4700111 ??
--sb--