Modify a login's server security.
[Visual Basic .NET] Public Sub ModifyLoginSecurity ( _ ByVal loginName As String, _ ByVal isAdministrator As Boolean _ )
[C#] public void ModifyLoginSecurity ( string loginName, bool isAdministrator );
[C++]
HRESULT ModifyLoginSecurity(
BSTR loginName,
VARIANT_BOOL isAdministrator
);
[C++]Parameters
loginName [in] loginName is a parameter of type BSTR isAdministrator [in] isAdministrator is a parameter of type VARIANT_BOOL
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
This method allows you to make an existing login an administrator or not.
Remarks
You must be an server adminstrator to execute this method.