CheckAccess

The CheckAccess method verifies that the user possesses the specified permissions. The method returns a uint32 which is 0 if successful or some other value if any other error occurred.

Hide Static method, provided by the base WMI class directly.

Syntax

Boolean bGranted = CheckAccess(UInt32 hDefKey, String sSubKeyName, UInt32 uRequired)

Parameters

Return Value

Examples

See Also

Help and Questions

  Community Content

You are cordially invited to add knowledge to this page. If you have sample code or additional information related to this WMI class, please share it. Use the comment form to send your information. We will edit and incorparate it into the reference library. Thank you!

Please do not use the comment form to submit questions. If you have questions or need assistance, visit our free forum: Help me with WMI.

 Content last updated: 2013-12-27 14:00:36 (UTC).

Facebooktwittergoogle_pluspinterestlinkedinFacebooktwittergoogle_pluspinterestlinkedin