This document is archived and information here might be outdated.  Recommended version.

IServerObjectAdmin7.IsAdminUser Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectAdmin7 Interface > IServerObjectAdmin7.IsAdminUser Method
ArcGIS Developer Help

IServerObjectAdmin7.IsAdminUser Method

Checks if given user is a member of agsadmin group.

[Visual Basic .NET]
Public Function IsAdminUser ( _
    ByVal UserName As String _
) As Boolean
public bool IsAdminUser (
    string UserName
HRESULT IsAdminUser(
  BSTR UserName
UserName [in]

UserName is a parameter of type BSTR

Product Availability

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

See Also

IServerObjectAdmin7 Interface