Location: Symbol Reference > Files > JwsclSid.pas
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
JwsclSid.pas

Project JEDI Windows Security Code Library (JWSCL) 

Contains Security Descriptor classes that are used by the units of JWSCL This unit contains ansi- and unicode string types that are used by the units of JWSCL. You can define UNICODE to use unicode strings. Otherwise ansicode will be used.

The Original Code is JwsclSid.pas. 

The Initial Developer of the Original Code is Christian Wimmer. Portions created by Christian Wimmer are Copyright (C) Christian Wimmer. All rights reserved.

Christian Wimmer

 
Name 
Description 
 
The security identifier (SID) structure is a variable-length structure used to uniquely identify users or groups.
TJwSecurityId encapsulates a SID structures and provides functions to create, read and convert SID data. Once an instance is created the SID data cannot be changed. Therefore there is no Assign function to copy data.
MSDN on http://msdn2.microsoft.com/en-us/library/aa379594.aspx http://msdn2.microsoft.com/en-us/library/aa379597.aspx 
 
TJwSecurityIdList is a class that contains a list of SIDs instances. The SID instances can be freed automatically at the end of the list instance. 
 
Name 
Description 
 
JwClearSidNameCache removes all list entries. JwInitSidNameCache() must be called before using this procedure. 
 
JwFreeSidNameCache frees the variable JwSidNameCache and sets it to nil. This procedure must be called in the end of every thread separately; this includes the main thread.
This call is automatically done for the first thread! 
 
JwClearSidNameCache initializes the JwSidNameCache string list. It must be called only once for every thread. Multiple calls will create dangling pointers.
This call is automatically done for the first thread! 
 
Name 
Description 
 
This is record TSidAndAttributesArrayRecord. 
 
This is record TSidAndAttributesArrayTopRecord. 
 
This is record TStringRec. 
Name 
Description 
This is type PSidAndAttributesArrayRecord. 
This is type PStringRec. 
TJwSubAuthorityArray defines a type that represents a sub authority. It is a dynamic array of Cardinal values. 
License

The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ 

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. 

Alternatively, the contents of this file may be used under the terms of the GNU Lesser General Public License (the "LGPL License"), in which case the provisions of the LGPL License are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of the LGPL License and not to allow others to use your version of this file under the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the LGPL License. If you do not delete the provisions above, a recipient may use your version of this file under either the MPL or the LGPL License. 

For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html

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!