Search Results for

    Show / Hide Table of Contents

    Class ProjectCredentials

    Represents credentials for translation providers and termbase servers to be used during project processing. You can access this using Credentials.

    When creating or opening a project that refers to translation providers or termbases that require credentials, the appropriate credentials should be set up using AddCredential(Uri, String), before executing automatic tasks or anything else that requires access to these translation providers or termbases.

    Note that these credentials will only be used for local processing and will not be included in any project packages. The user who opens the project package will be asked to provide the appropriate credentials.

    If credentials for translation providers or termbases have been specified in SDL Trados Studio and the user has chose to persist these, these credentials will be automatically available to projects that are run on the same machine and you are not required to provide them programmatically again.

    Inheritance
    System.Object
    ProjectCredentials
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Sdl.ProjectAutomation.FileBased
    Assembly: Sdl.ProjectAutomation.FileBased.dll
    Syntax
    public class ProjectCredentials

    Methods

    AddCredential(Uri, Boolean, String, String)

    Declaration
    public void AddCredential(Uri uri, bool useWindowsAuthentication, string user, string password)
    Parameters
    Type Name Description
    System.Uri uri
    System.Boolean useWindowsAuthentication
    System.String user
    System.String password

    AddCredential(Uri, String)

    Adds a credential for the server or resource represented by the given URI.

    Declaration
    public void AddCredential(Uri uri, string credential)
    Parameters
    Type Name Description
    System.Uri uri

    The URI that represents the server or resource that requires credentials.

    System.String credential

    A credential in the form required by the specified server.

    Remarks

    It is recommended to build the URIs using the TranslationProviderUriBuilder class. The following URIs are supported:

    On this page

    • Methods
      • AddCredential(Uri, Boolean, String, String)
      • AddCredential(Uri, String)
    Back to top Generated by DocFX