|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to get Windows user name of a 3rd party application in dotnet?We have 3rd parthy windows application running, which uses windows
username/password to authenticate through LDAP. This application is not a ..net application. We don't have any interface/ method to get access for this application. The Windows OS logon user name and this application logon windows user name could be different. This application calls a custom COM dll created in dotnet framework2.0. The COM has to identify the user, who logged into that application. How to get this user name in the COM object? If the application is authenticating via an LDAP bind, there is no local
Windows logon token for that user that could be impersonated and then picked up automatically via normal Windows security mechanisms. As such, the only way I can think of would be for your COM interface to support a member that allows callers to "tell" you this info. That would of course require changes to both the component and the calling application. -- Show quoteHide quoteJoe Kaplan-MS MVP Directory Services Programming Co-author of "The .NET Developer's Guide to Directory Services Programming" http://www.directoryprogramming.net -- "Vincent Anand" <Vincent An***@discussions.microsoft.com> wrote in message news:A59EE6EB-99A2-4A34-B80A-E41D6BBD8062@microsoft.com... > We have 3rd parthy windows application running, which uses windows > username/password to authenticate through LDAP. This application is not a > .net application. We don't have any interface/ method to get access for > this > application. > > The Windows OS logon user name and this application logon windows user > name > could be different. > > This application calls a custom COM dll created in dotnet framework2.0. > The > COM has to identify the user, who logged into that application. How to get > this user name in the COM object? > > > > >
Bypass Authentication
Serializing credentials and reauthenticating. How? Have WCF Callback notify a single client ? PrincipalPermission, getting started How to interface to Certificate Authority from C# Unable to copy file to a shared path on remote server CAPICOM and .NET signedCms.CheckSignature How to track down source of crash + Event log error? CAPICOM keylength for 3-DES Embedding Software Registration Info in Win Registry |
|||||||||||||||||||||||