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


IDataServerManagerAdmin.GetUsersByPermissionType Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesGDB > ESRI.ArcGIS.DataSourcesGDB > Interfaces > ID > IDataServerManagerAdmin Interface > IDataServerManagerAdmin.GetUsersByPermissionType Method
ArcGIS Developer Help

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