This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectAdmin7 Interface > IServerObjectAdmin7.IsAdminUser Method (ArcObjects .NET 10.4 SDK) |
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