com.esri.arcgis.server
Interface IIdentity

All Superinterfaces:
Serializable
All Known Implementing Classes:
IIdentityProxy

public interface IIdentity
extends Serializable

Provides access to members that define a user.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 String getDomainName()
          The domain name of the user.
 String getEncodedString()
          The base64 encoded copy of the encrypted password.
 String getPassword()
          The clear-text user password.
 String getUserName()
          The username of the user.
 void setDomainName(String domainName)
          The domain name of the user.
 void setEncodedString(String password)
          The base64 encoded copy of the encrypted password.
 void setPassword(String password)
          The clear-text user password.
 void setUserName(String userName)
          The username of the user.
 

Method Detail

setUserName

void setUserName(String userName)
                 throws IOException,
                        AutomationException
The username of the user.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
userName - The userName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUserName

String getUserName()
                   throws IOException,
                          AutomationException
The username of the user.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The userName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDomainName

void setDomainName(String domainName)
                   throws IOException,
                          AutomationException
The domain name of the user.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
domainName - The domainName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDomainName

String getDomainName()
                     throws IOException,
                            AutomationException
The domain name of the user.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The domainName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPassword

void setPassword(String password)
                 throws IOException,
                        AutomationException
The clear-text user password.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
password - The password (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPassword

String getPassword()
                   throws IOException,
                          AutomationException
The clear-text user password.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The password
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEncodedString

void setEncodedString(String password)
                      throws IOException,
                             AutomationException
The base64 encoded copy of the encrypted password.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
password - The password (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEncodedString

String getEncodedString()
                        throws IOException,
                               AutomationException
The base64 encoded copy of the encrypted password.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The password
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.