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


IDataServerManagerAdmin.ModifyGeodatabaseSecurity Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesGDB)  

IDataServerManagerAdmin.ModifyGeodatabaseSecurity Method

Modify a login's database security.

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

Parameters dbName [in] dbName is a parameter of type BSTR loginName [in] loginName is a parameter of type BSTR permission [in]
permission is a parameter of type esriGeodatabasePermissionsType

Product Availability

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

Description

This method modifies the permission type of a user at the Geodatabase level.  Permissions include the read access to the data, read\write access including the ability to create data in the Geodatabase or read\write access with the ability to perform administrator tasks.  You must be a server administrator or a user with Geodatabase administrator permissions to use this method.

See Also

IDataServerManagerAdmin Interface