Location: Symbol Reference > Classes > TJwSecureGeneralObject Class > TJwSecureGeneralObject Methods > TJwSecureGeneralObject.GetOwnerShipMembers Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwSecureGeneralObject.GetOwnerShipMembers Method
Pascal
class function GetOwnerShipMembers: TJwSecurityIdList; override;

Returns a list of sids. The list must be freed by the caller.

GetOwnerShipMembers creates a list of sids that can be used to change the owner of a secured object. The first member is always the token owner. These Sids can be used to change the owner. Without restore privilege the owner can only changed to one of the returned SIDs. However the function ignores restore privileges. 

The token is opened with the TOKEN_READ access right. 

 

Exceptions 
Description 
An exception can be raised if a call to one of the following items failed:
 
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!