ArcObjects Library Reference (System)  

IServerUserInfo Interface

Provides access to the current user information.

Product Availability

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

Description

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

Members

Description
Read-only property Name Obtains user name.
Read-only property Roles Obtains user roles.