XUserPrivilegeDenyReason
Specifies the reason a user could not obtain a privilege.Syntax
Constants
Remarks
To check if a user has a specific privilege, call the XUserCheckPrivilege function. The function accepts a pointer to an XUserPrivilegeDenyReason enumeration as an argument. The function returns an XUserPrivilege enumeration.NOTE: The value returned in the reason argument is informational only, and may be inaccurate in many scenarios. This value should not be used to make decisions in your title.
