Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Windows authentication documentation

api

The api documentation on ServiceManager authentication (12.3) states that no username is to be passed to the constructor. This produces a userID of -1 (anonymous?). Passing the username to the constructor retrieves the correct username.

I saw a question asked two years ago ("Unable to authenticate") where the reply said to pass the username. Is the documentation two years out of date or is there a bug in the code?

Thanks.

User75023
· 1
User75023
Replies (3)
helpful
0
not helpful

You need to pass the username (domain\user), blank password and make sure that windows auth is true.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

In that case, the documentation should be updated. Here is what I is in the doco now:

Authenticate using Windows Authentication:

ServiceManager serviceManager = new ServiceManager("http://gemini.server.com", "", "", "", true);


User75023
· 1
User75023
helpful
0
not helpful

Done, thank you.


Saar Cohen
· 5000
Saar Cohen