ArcObjects Library Reference (DataSourcesGDB)  

IDataServerManagerAdmin.DeleteLogin Method

Deletes a login.

[Visual Basic .NET]
Public Sub DeleteLogin ( _
    ByVal loginName As String _
)
[C#]
public void DeleteLogin (
    string loginName
);
[C++]
HRESULT DeleteLogin(
  BSTR loginName
);
[C++]

Parameters

loginName [in]   loginName is a parameter of type BSTR

Product Availability

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

Description

This method deletes a login from a database server.  In order to delete a user or login, the user cannot own any data within the Database Server.

Remarks

You must be a server administrator to perform this operation.

See Also

IDataServerManagerAdmin Interface