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

com.sas.services.connection
Interface ConnectionMetadataInterface


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
 java.lang.String getNormalizedDomain()
          The normalized domain.
 java.lang.String getNormalizedUserName()
          The normalized user name.
 

Method Detail

getNormalizedUserName

java.lang.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

java.lang.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

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




Copyright © 2009 SAS Institute Inc. All Rights Reserved.