|
JWSCL Documentation
|
class procedure TakeOwnerShip(const Handle: THandle; const aObjectType: TSeObjectType; SID: TJwSecurityId = nil); override; overload; reintroduce;
|
Parameters |
Description |
|
const Handle: THandle |
Defines a handle to the file or folder which owner is to be changed |
|
const aObjectType: TSeObjectType |
Defines the type of object |
|
SID: TJwSecurityId = nil |
defines the new owner. If nil the current user is used. |
Name takes the ownership of an object given by a handle. If the current has the SE_TAKE_OWNERSHIP_NAME available it is made active automatically. The owner is set to to current owner or given SID. To set the owner to an arbitrary one the caller must enable SE_RESTORE_PRIVILEGE. The function doesnt do it.
|
Exceptions |
Description |
|
See SetNamedSecurityInfo for more 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!
|