com.jniwrapper.win32.security
Class TokenPrivileges

java.lang.Object
  extended by com.jniwrapper.Parameter
      extended by com.jniwrapper.Structure
          extended by com.jniwrapper.win32.security.TokenPrivileges
All Implemented Interfaces:
com.jniwrapper.AlignmentAwareParameter, com.jniwrapper.CompositeParameter

public class TokenPrivileges
extends com.jniwrapper.Structure

This structure contains information about privileges for access token and corresponds to native TOKEN_PRIVILEGES structure.


Field Summary
 
Fields inherited from class com.jniwrapper.Structure
i
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
TokenPrivileges()
           
 
Method Summary
 java.lang.Object clone()
           
 int getPrivilegeCount()
           
 LuidAndAttributes getPrivileges(int index)
           
static TokenPrivileges lookup(java.lang.String name)
           
 void setPrivilegeCount(int privilegeCount)
           
 
Methods inherited from class com.jniwrapper.Structure
a, a, acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, hashCode, indent, read, read, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenPrivileges

public TokenPrivileges()
Method Detail

getPrivilegeCount

public int getPrivilegeCount()

setPrivilegeCount

public void setPrivilegeCount(int privilegeCount)

getPrivileges

public LuidAndAttributes getPrivileges(int index)

clone

public java.lang.Object clone()
Overrides:
clone in class com.jniwrapper.Structure

lookup

public static TokenPrivileges lookup(java.lang.String name)