To see if a user has a specific privilege, call the XUserCheckPrivilege function.
To display a user interface that allows users to resolve privilege issues, call the XUserResolvePrivilegeWithUiAsync function. Both functions use an XUserPrivilege enumeration as an argument.