I am creating an In/Out system tray application that interacts with the Microsoft Lync Server through the Microsoft Lync API. Is there a way to pass the username and password of the current windows user to the Lync API so users will be automatically logged in instead of having them enter the credentials every time?
Is there a way to pass the credentials of the current windows user into LyncClient.Submit()
2.1k views Asked by skeletank At
1
There are 1 answers
Related Questions in C#
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in AUTHENTICATION
- Authenticate Flask rest API
- Sends a personalised error message from the back-end to the front-end with Nuxt-auth
- How to connect Spotify PKCE Authorization Boilerplate to Login-Button in React
- Laravel SPA auth with Sanctum
- _supabaseClient__WEBPACK_IMPORTED_MODULE_1__.supabase.auth.signIn is not a function
- My openID Authentication return 'You must have either https wrappers or curl enabled.'
- How to detect the Minimization of Custom Chrome Tabs on Android?
- Wordpress redirect to homepage after successfully logged in
- How to modify the prebuilt UI of authentication in aws amplify version 6 in React Native
- Creating a login system for my website, navlist not working?
- Receiving 400 bad request on post when customer auth handler is used
- Creating Azure B2B login system with Vue.js frontend & Python Django backend
- Gradio chatbot: how to export individual conversation histories?
- Set-Cookie header not forwarded by nginx to the client
- git asking for authentication when auth.json is present while running composer update
Related Questions in CREDENTIALS
- what really controls the permissions: UID or eUID?
- Error on Google Sign In CredentialManager, using Jetpack Compose
- Windows Custom Credential Provider is not displaying tile on logon for all users in a pc
- How do I list which Jenkins credentials used per pipeline in the script console?
- How to correctly implement passkeys for web?
- Chrome flag #filling-across-affiliated-websites vs #filling-across-grouped-sites
- mail jakarta send whit proxy
- multiple azure chatbots doesn't authenticate
- Access AWS Secrets Manager with IMDSv2 set to required
- I'm using NextJs with Auth.Js version 5, How can I retrive the access_token upon sign in so as to make further API calls
- I want to convert the encrypted user login creds to tamil language and store in mysqll db
- Install a private package with credentials from requirements.txt
- Access a UNC path with .NET Core Web API
- Error retrieving files from sharepoint via python
- PayPal bearer resets after x amount of seconds
Related Questions in SUPPRESS
- Suppressing array data element in COBOL JSON GENERATE
- Kafka Streams IN_MEMORY suppressed session window store state not persisted across restarts
- How to Suppress Qhull Message using scipy.spacial ConvexHull
- How can I turn off (disable, negate) an rspec command line option?
- .NET WinForms KeyEventArgs.SuppressKeyPress: effect of setting it to True in the KeyUp event
- Receive message on KSQL window close
- Using contextlib.suppress in place of nested try/else with return statement inside function
- (Python - Keyboard module) What am i doing wrong here! when I press up, I expect the mapping to press e but it presses q for up, down and for left
- Crystal Reports - Show the first 2 records of each group
- Suppress QXmlSchemaValidator Application Output Error Messages
- Kafka Streams. How to emit the final result in an aggregation window with suppressor
- How to suppress RED progress messages that are not warning messages? SOLUTIONS NOT WORKING
- R - Suppressing separator at a single text passage in paste()
- How to suppress the return of shutil.copy2() in Python?
- (Julia) Not able suppress output using semicolon when assigning variable inside an IF statement
Related Questions in LYNC
- Lync 2013 Client SDK - unable to turn off only my video
- C# Application Lync Function migrated to MS teams
- UCWA - getting all meetings not just ones you scheduled
- Migration from Skype for Business on premises to Teams
- Is there any code # cmd powershell to change Lync call forwarding setting to new number?
- Is there a way to connect to New-CsOnlineSession using an oauth token?
- Easiest way to get skype user presence using dotnetcore?
- Open user in skype-for-business(Lync)
- Batch Delete Folders That start a specific way
- Skype for Business 2019 and MSPL + managed code not working
- Is there any document that maps the status codes returned in Client.StateChanged Event with their intended purpose?
- Is Lync CWE is compatible with Skype for Business
- How to dock Skype4Business main window to parent application
- Can microsoft team app be used in UI suppression mode as Skype for business?
- UCMA 5.0 - File sharing doesn't work if conference is created by an UCMA application
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
No, unlike e.g. accessing a web service, there is no way to force Lync to use the logged-on users credentials. You can see this with the Lync client itself the first time you run it on your machine - you will be prompted for domain credentials, even if you are logged on to the machine as a domain user.
All is not lost, though, as Lync (by default) will save credentials as they are entered, and then present them back to the server each time it logs on as that user. You can check to see if Lync is set to save passwords in the registry:
To take advantage of this in the API, you need to:
Now - if your user has not logged in to Lync (or your app) previously, you will get a CredentialRequested event.
(I can't remember off the top of my head which method out of 2 or 3 above is the recommended approach - best to try both and see which you have most luck with)
Next time that user logs in (assuming SavePassword is set to true in the registry), the saved credentials will be passed, so user will log in without the CredentialRequested event firing.
This MSDN article covers the process quite nicely (I'm assuming that you're running Lync in UI Supressed mode, as this is only an issue in suppressed mode)