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


IServerObjectAdmin7.IsAdminUser Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Server)  

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
[C#]
public bool IsAdminUser (
    string UserName
);
[C++]
HRESULT IsAdminUser(
  BSTR UserName
);
[C++]

Parameters UserName [in]
UserName is a parameter of type BSTR

Product Availability

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

See Also

IServerObjectAdmin7 Interface