Expand Minimize
This topic has not yet been rated - Rate this topic

Win32_TokenPrivileges class

The Win32_TokenPrivileges abstract WMI class represents information about a set of privileges for an access token.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties and methods are in alphabetic order, not MOF order.

Syntax

class Win32_TokenPrivileges
{
  Win32_LUIDandAttribute Privileges[];
  uint32                 PrivilegeCount;
};

Members

The Win32_TokenPrivileges class has these types of members:

Properties

The Win32_TokenPrivileges class has these properties.

PrivilegeCount
Data type: uint32
Access type: Read-only

Number of entries in the Privilege array.

Privileges
Data type: Win32_LUIDandAttribute array
Access type: Read-only

Specifies an array of LUIDs and attributes.

Examples

For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.

For C++ code examples, see WMI C++ Application Examples.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Namespace

\root\CIMV2

MOF

Wmipjobj.mof

DLL

Wmipjobj.dll

See also

Operating System Classes

 

 

Send comments about this topic to Microsoft

Build date: 11/19/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.