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
public bool HasPrivilege( string privilegeName )
Public Function HasPrivilege( _ ByVal privilegeName As String _ ) As Boolean
Target Platforms: Windows 11, Windows 10