ArcObjects Library Reference (DataSourcesGDB)  

IDataServerManagerAdmin.GetUsersByPermissionType Method

Get Users in by the Permission type.

[Visual Basic .NET]
Public Sub GetUsersByPermissionType ( _
    ByVal dbName As String, _
    ByVal permission As esriGeodatabasePermissionsType, _
    ByRef userNames As IEnumBSTR _
)
[C#]
public void GetUsersByPermissionType (
    string dbName,
    esriGeodatabasePermissionsType permission,
    ref IEnumBSTR userNames
);
[C++]
HRESULT GetUsersByPermissionType(
  BSTR dbName,
  esriGeodatabasePermissionsType permission,
  IEnumBSTR** userNames
);
[C++]

Parameters

dbName [in]   dbName is a parameter of type BSTR permission [in]

  permission is a parameter of type esriGeodatabasePermissionsType

userNames [out]

  userNames is a parameter of type IEnumBSTR

Product Availability

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

Description

Gets a list of user belonging to a particular permission type (esriGeodatabasePermissionsType).

Remarks

This method returns a list of users based on permission type.

See Also

IDataServerManagerAdmin Interface