To check if a user has a specific privilege, call the XUserCheckPrivilege function.To display a resolution user interface for required privileges, call XUserResolvePrivilegeWithUiAsync.Both functions accept an XUserPrivilegeOptions enumeration as an argument.