# Uses of Interface
com.sas.metadata.remote.Login

Packages that use Login
Package
Description
com.sas.metadata.remote
Provides a java object interface to the metadata server using the SAS/Open Metadata Architecture.
com.sas.metadata.remote.impl
Provides the implementation of the remote java interface to the SAS Metadata Server.

- ## Uses of Login in com.sas.metadata.remote

  Methods in com.sas.metadata.remote that return Login
  Modifier and Type
  Method
  Description
  `static Login`
  MdModelUtil.`getBestLogin(SASLibrary iMeta)`
  Deprecated.
  `Login`
  DataSourceName.`getDefaultLogin()`
  Gets the `Login` for `DefaultLogin`
  `Login`
  SASLibrary.`getDefaultLogin()`
  Gets the `Login` for `DefaultLogin`
  `static Login`
  MdModelUtil.`getLogin(LogicalServer ls, String domainName)`
  Returns a Login object from searching the AuthDomain
  `static Login`
  MdModelUtil.`getLogin(Root obj, String domainName)`
  Returns a Login object from searching the AuthDomain
  Methods in com.sas.metadata.remote with parameters of type Login
  Modifier and Type
  Method
  Description
  `static String`
  MdModelUtil.`getBestLoginString(Login iLogin)`
  Deprecated.
  `static String`
  MdModelUtil.`getBestLoginString(Login iLogin, boolean b_encodePassword)`
  Deprecated.
  `static String`
  MdModelUtil.`getBestLoginString(Login iLogin, boolean b_encodePassword, boolean b_quotePassword)`
  Deprecated.
  `protected PasswordAuthentication`
  MdModelUtil.SAS9Generator.`getCredentials(SASLibrary iMeta, Login iLogin)`
  Get credentials using provided Login object.
  `void`
  DataSourceName.`setDefaultLogin(Login inObject)`
  Sets the `DefaultLogins` list 0th element to be `inObject`.
  `void`
  SASLibrary.`setDefaultLogin(Login inObject)`
  Sets the `DefaultLogins` list 0th element to be `inObject`.

- ## Uses of Login in com.sas.metadata.remote.impl

  Methods in com.sas.metadata.remote.impl that return Login
  Modifier and Type
  Method
  Description
  `Login`
  DataSourceNameImpl.`getDefaultLogin()`
  Gets the `Login` for `DefaultLogin` NOTE: If the list already exists and its state is MetadataState.AL_PARTIALSET and this object is not a new object, then the list will merge what is here with what is obtained from OMR.
  `Login`
  SASLibraryImpl.`getDefaultLogin()`
  Gets the `Login` for `DefaultLogin` NOTE: If the list already exists and its state is MetadataState.AL_PARTIALSET and this object is not a new object, then the list will merge what is here with what is obtained from OMR.
  Methods in com.sas.metadata.remote.impl with parameters of type Login
  Modifier and Type
  Method
  Description
  `void`
  DataSourceNameImpl.`setDefaultLogin(Login inObject)`
  Sets the `DefaultLogins` list 0th element to be `inObject`.
  `void`
  SASLibraryImpl.`setDefaultLogin(Login inObject)`
  Sets the `DefaultLogins` list 0th element to be `inObject`.