ArcGIS Pro 2.6 API Reference Guide
HasPrivilege Method

ArcGIS.Desktop.Workflow.Models.ConfigItems Namespace > UserDetails Class : HasPrivilege Method
The privilege name.
Determines whether a user possesses the specified Workflow Manager privilege.
Syntax
public bool HasPrivilege( 
   string privilegeName
)
Public Function HasPrivilege( _
   ByVal privilegeName As String _
) As Boolean

Parameters

privilegeName
The privilege name.

Return Value

whether the user has the privilege
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

UserDetails Class
UserDetails Members