This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesGDB > ESRI.ArcGIS.DataSourcesGDB > Interfaces > ID > IDataServerManagerAdmin Interface > IDataServerManagerAdmin.GetUsersByPermissionType Method (ArcObjects .NET 10.4 SDK) |
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
Gets a list of user belonging to a particular permission type (esriGeodatabasePermissionsType).
This method returns a list of users based on permission type.