Location: Symbol Reference > Classes > TJwPrivilege Class > TJwPrivilege Methods > TJwPrivilege.TextToLUID Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwPrivilege.TextToLUID Method
Pascal
class function TextToLUID(const Name: TJwString; const SystemName: TJwString = ''): TLuid;
Parameters 
Description 
const Name: TJwString 
The name parameter defines the privilege name to be converted into a luid.  
const SystemName: TJwString = '' 
The SystemName parameter specifies the system name where to search for. Leave empty to use the local system.  

TextToLUID returns a luid with the requested privilege information or the value LUID_INVALID if no exception occured but the luid value not set. 

See http://msdn2.microsoft.com/en-us/library/aa379180.aspx for more information.

TextToLUID creates a luid structure out of a privilege name on a system environment.

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!