|
JWSCL Documentation
|
function Create_SA(bInheritHandle: boolean = False; bSDRelative: boolean = False): PSecurityAttributes;
|
Parameters |
Description |
|
bInheritHandle: boolean = False |
A Boolean value that specifies whether the returned handle is inherited when a new process is created. If this member is TRUE, the new process inherits the handle. |
|
bSDRelative: boolean = False |
A Boolean value that defines whether the internal security descriptor is relative (true) or absolute (false). |
Returns a pointer to a security attribute.
Create_SA creates a Security Attributes structure and initialises it with the security descriptor of this instance. The SA structure must be freed by Free_SA. The internal SD structure is automatically freed.
This method uses GetMem.
You can set Control or RMControl to modify the resulting control value of the security descriptor block. The values SE_DACL_PRESENT and SE_SACL_PRESENT are always automatically set. SE_RELATIVE is set, if parameter bRelative is true. SE_SACL_PRESENT will be set if property SACL/AuditACL is not nil.
|
Exceptions |
Description |
|
see Create_SD for more information about raised exception. |
|
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!
|