com.esri.arcgis.server
Class User

java.lang.Object
  extended by com.esri.arcgis.server.User
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IUser, ISupportErrorInfo, java.io.Serializable

public class User
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, IUser

COM Class 'User'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriServer.olb'

Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.server.IUser
IID, IID2b8a2b7f_01bf_4951_8aa7_5161ad46ef35, xxDummy
 
Constructor Summary
User()
          Constructs a User using ArcGIS Engine.
User(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
User theUser = (User) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 java.lang.String getDescription()
          Returns the user description.
 java.lang.String getEmail()
          Returns the user's email.
 java.lang.String getFullname()
          Returns the user's full name.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getPassword()
          Returns the user password.
 java.lang.String getSecretAnswer()
          Returns the user's answer to secret question.
 java.lang.String getSecretQuestion()
          Returns the user's secret question.
 java.lang.String getUsername()
          Returns the user name.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void release()
          Release a User.
 void setDescription(java.lang.String description)
          Sets the user description.
 void setEmail(java.lang.String email)
          Sets the user's email.
 void setFullname(java.lang.String fullname)
          Sets the user's full name.
 void setPassword(java.lang.String password)
          Sets the user password.
 void setSecretAnswer(java.lang.String secretAnswer)
          Sets the user's answer to the secret question.
 void setSecretQuestion(java.lang.String secretQuestion)
          Sets the user's secret question.
 void setUsername(java.lang.String userName)
          Sets the user name.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

User

public User()
     throws java.io.IOException,
            java.net.UnknownHostException
Constructs a User using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

User

public User(java.lang.Object obj)
     throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
User theUser = (User) obj;

Construct a User using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to User.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a User.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUsername

public void setUsername(java.lang.String userName)
                 throws java.io.IOException,
                        AutomationException
Sets the user name.

Specified by:
setUsername in interface IUser
Parameters:
userName - The userName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUsername

public java.lang.String getUsername()
                             throws java.io.IOException,
                                    AutomationException
Returns the user name.

Specified by:
getUsername in interface IUser
Returns:
The userName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPassword

public void setPassword(java.lang.String password)
                 throws java.io.IOException,
                        AutomationException
Sets the user password.

Specified by:
setPassword in interface IUser
Parameters:
password - The password (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPassword

public java.lang.String getPassword()
                             throws java.io.IOException,
                                    AutomationException
Returns the user password.

Specified by:
getPassword in interface IUser
Returns:
The password
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDescription

public void setDescription(java.lang.String description)
                    throws java.io.IOException,
                           AutomationException
Sets the user description.

Specified by:
setDescription in interface IUser
Parameters:
description - The description (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDescription

public java.lang.String getDescription()
                                throws java.io.IOException,
                                       AutomationException
Returns the user description.

Specified by:
getDescription in interface IUser
Returns:
The description
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEmail

public void setEmail(java.lang.String email)
              throws java.io.IOException,
                     AutomationException
Sets the user's email.

Specified by:
setEmail in interface IUser
Parameters:
email - The email (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEmail

public java.lang.String getEmail()
                          throws java.io.IOException,
                                 AutomationException
Returns the user's email.

Specified by:
getEmail in interface IUser
Returns:
The email
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFullname

public void setFullname(java.lang.String fullname)
                 throws java.io.IOException,
                        AutomationException
Sets the user's full name.

Specified by:
setFullname in interface IUser
Parameters:
fullname - The fullname (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFullname

public java.lang.String getFullname()
                             throws java.io.IOException,
                                    AutomationException
Returns the user's full name.

Specified by:
getFullname in interface IUser
Returns:
The fullname
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSecretQuestion

public void setSecretQuestion(java.lang.String secretQuestion)
                       throws java.io.IOException,
                              AutomationException
Sets the user's secret question.

Specified by:
setSecretQuestion in interface IUser
Parameters:
secretQuestion - The secretQuestion (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSecretQuestion

public java.lang.String getSecretQuestion()
                                   throws java.io.IOException,
                                          AutomationException
Returns the user's secret question.

Specified by:
getSecretQuestion in interface IUser
Returns:
The secretQuestion
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSecretAnswer

public void setSecretAnswer(java.lang.String secretAnswer)
                     throws java.io.IOException,
                            AutomationException
Sets the user's answer to the secret question.

Specified by:
setSecretAnswer in interface IUser
Parameters:
secretAnswer - The secretAnswer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSecretAnswer

public java.lang.String getSecretAnswer()
                                 throws java.io.IOException,
                                        AutomationException
Returns the user's answer to secret question.

Specified by:
getSecretAnswer in interface IUser
Returns:
The secretAnswer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.