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


IServerObjectAdmin7.IsAdminUser Method (ArcObjects .NET 10.5 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,
  VARIANT_BOOL* pVal
);
[C++]

Parameters UserName [in] UserName is a parameter of type BSTR pVal [out, retval] pVal is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IServerObjectAdmin7 Interface