How can I access stored Groupshare credentials from SDL SDK?

Basically how can I access the info stored in the following dialog through the SDL SDK?

Use case:

I have a custom verification plug-in that accesses Groupshare TMs.

However, Groupshare project settings are shared for all users, so I cannot have the user enter their credentials under verification settings.

Therefore, it would be easiest to programmatically retrieve the credentials so I can access the Groupshare server automatically.

.

Parents Reply
  • Hi Romulus,

    The same user, but I still have to enter credentials to access the TM AFAIK.

    Basically I want to access the TM without having to enter credentials (since the user is already connected to the server).

    Here is some sample code:

    TranslationProviderServer server = new TranslationProviderServer(new Uri(@"http://XXXXX"),
                                                                        false,
                                                                        credentials.Username,
                                                                        credentials.Password);
    
    ServerBasedTranslationMemory tm = server.GetTranslationMemory(ServerBasedTranslationMemory.GetServerBasedTranslationMemoryPath(mainTM.Uri), TranslationMemoryProperties.None);

     

Children
No Data