Location: Symbol Reference > Classes > TJwPrivilege Class
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwPrivilege Class
Pascal
TJwPrivilege = class(TObject);

TJwPrivilege contains information about a token privilege

 
Name 
Description 
 
This is the overview for the Create constructor overload. 
Name 
Description 
The following tables list the members exposed by TJwPrivilege. 
The methods of the TJwPrivilege class are listed here. 
The properties of the TJwPrivilege class are listed here. 
 
Name 
Description 
 
GetText creates a string that contains a privilege in a human readable form :  
 
IsEnabledByDefault returns the whether the state SE_PRIVILEGE_ENABLED_BY_DEFAULT is set in the Attributes property (true) or not (false). 
 
LUIDtoText converts a LUID (locally unique ID) into a string. Output format:  
 
MakeLUID creates a luid strcture from the given parameter. 
 
This is the overview for the MakeLUID_AND_ATTRIBUTES method overload. 
 
PrivilegeAttributeToText convertes a set of attributes into a human readable string
 
 
RemoveIrrepealable removes a privilege from the token. It cannot be readded.  
 
TextToLUID creates a luid structure out of a privilege name on a system environment.  
 
Name 
Description 
 
Attributes contains the status of the privilege. It is a bit combination of these values :
  • SE_PRIVILEGE_ENABLED_BY_DEFAULT
  • SE_PRIVILEGE_ENABLED
  • SE_PRIVILEGE_USED_FOR_ACCESS
 
 
DisplayName contains a description of the privilege provided by the system The language can be retrieved in the property LanguageID
 
Enabled enables or disables a privilege EJwsclNotImplementedException will be raised if the privilege is not assigned to a token. EJwsclAdjustPrivilegeException will be raised if the privilege attributes could not be set or retrieved. See also GetEnabled and SetEnabled for more information. 
 
LanguageID provides the language of the display name 
 
LUID 
LUID contains the identifier of the privilege 
 
Name 
Name contains the system name of the privilege (like SeTcbPrivilege) 
 
The owner token of this privilege set. 
 
Privilege_Used_For_Access will be set to true if the privilege was used by PrivilegeCheck function. However PrivilegeCheckEx does not support this value. 
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!