Location: Symbol Reference > Classes > TJwSecurityDescriptor Class > TJwSecurityDescriptor Properties > TJwSecurityDescriptor.OwnPrimaryGroup Property
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecurityDescriptor.OwnPrimaryGroup Property
Pascal
property OwnPrimaryGroup: boolean;

OwnPrimaryGroup defines whether the group SID shall be freed on destruction (true) or not (false) 

If the property OwnPrimaryGroup is true and the property is set, the old Owner TJwSecurityId instance will be freed and the new owner will be copied into a new instance. So there will be two instances of this SID and the original instance is not touched and must be freed if necessary. If the property OwnPrimaryGroup is false, the old Owner TJwSecurityId will not be freed and the new one will directly point to the new SID. 

See Owner for information about how to use this property.

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!