### *** This interface provides Binary Compatibility only, not Source Compatibility ***

Package com.sas.services.connection

# Interface ConnectionMetadataInterface

@SASScope("ALL") @BinaryCompatibilityOnly public interface ConnectionMetadataInterface
Information about the connection. Some objects that implement `ConnectionInterface` also implement this interface.

`ConnectionInterface cx = ... if (cx instanceof ConnectionMetadataInterface) { ConnectionMetadataInterface cxMetadata = (ConnectionMetadataInterface)cx; String normalizedUserName = cxMetadata.getNormalizedUserName(): ... }`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getNormalizedDomain()`
  The normalized domain.
  `String`
  `getNormalizedUserName()`
  The normalized user name.

- ## Method Details

  - ### getNormalizedUserName

    String getNormalizedUserName()
    The normalized user name. This value is the user name for the account on the server under which this connection was authenticated. This value will not necessarily be the same as the user name provided to the `getConnection()` that created this connection.
    Returns:
      the normalized user name

  - ### getNormalizedDomain

    String getNormalizedDomain()
    The normalized domain. The name of the authentication domain in which this connection was authenticated. This value will not necessarily be the same as the domain provided to the `getConnection()` that created this connection.
    Returns:
      the normalized domain