com.esri.arcgis.gisclient
Interface IIMSUserRole

All Superinterfaces:
Serializable
All Known Implementing Classes:
IMSFeatureService, IMSGlobeServiceDescription, IMSImageMap, IMSMetadataService, IMSMetadataServiceName, IMSServiceName

public interface IIMSUserRole
extends Serializable

Provides access to members to get the IMS role of the currently logged in user.

Product Availability

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


Method Summary
 int getUserRole()
          User role.
 void setUserRole(int role)
          User role.
 

Method Detail

getUserRole

int getUserRole()
                throws IOException,
                       AutomationException
User role.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A com.esri.arcgis.gisclient.acUserRole constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUserRole

void setUserRole(int role)
                 throws IOException,
                        AutomationException
User role.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
role - A com.esri.arcgis.gisclient.acUserRole constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.