Vote UpVote

Impersonation on the iSeries: Changing Profile User

The Wiert Corner – When running on Windows, changing the current user is called impersionation. There are various ways to do this in Windows, including WindowsIdentity.Impersonate on .NET (e.g. when using C#, VB.et net or Delphi Prism) which requires P/Invoke of LogonUser, CloseHandle and sometimes DuplicateToken as mentioned by Espo in this StackOverflow answer on .NET The functions ImpersonateLoggedOnUser and RevertToSelf the in the Windows API (e.g. when using Delphi or C++) also requiring  LogonUser and CloseHandle as mentioned by Chris Baldwin on Delphi3000.com. On the iSeries, there is only one way, as ...
Favorite? Off-Topic? jpluimers @ 2011-10-12 07:00


Visits: 456
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)