com.esri.arcgis.system
Interface IServerUserInfo

All Superinterfaces:
Serializable
All Known Implementing Classes:
IServerUserInfoProxy

public interface IServerUserInfo
extends Serializable

Provides access to the current user information.

Description

The properties of IServerEnvironment2 allows access to the User and Roles of the current connection.

Product Availability

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


Method Summary
 String getName()
          User name.
 IEnumBSTR getRoles()
          User roles.
 

Method Detail

getName

String getName()
               throws IOException,
                      AutomationException
User name.

Product Availability

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

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

getRoles

IEnumBSTR getRoles()
                   throws IOException,
                          AutomationException
User roles.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.system.IEnumBSTR
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.