Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
IBackgroundCopyJob3::GetFileACLFlags method (bits2_0.h)
Retrieves the flags that identify the owner and ACL information to maintain when transferring a file using SMB.
Syntax
HRESULT GetFileACLFlags(
[out] DWORD *Flags
);
Parameters
[out] Flags
Flags that identify the owner and ACL information to maintain when transferring a file using SMB. Flags can contain any combination of the following flags. If no flags are set, Flags is zero.
| Value | Meaning |
|---|---|
|
If set, the file's owner information is maintained. Otherwise, the job's owner becomes the owner of the file. |
|
If set, the file's group information is maintained. Otherwise, BITS uses the job owner's primary group to assign the group information to the file. |
|
If set, BITS copies the explicit ACEs from the source file and inheritable ACEs from the destination parent folder. Otherwise, BITS copies the inheritable ACEs from the destination parent folder. If the parent folder does not contain inheritable ACEs, BITS uses the default DACL from the account. |
|
If set, BITS copies the explicit ACEs from the source file and inheritable ACEs from the destination parent folder. Otherwise, BITS copies the inheritable ACEs from the destination parent folder. |
|
If set, BITS copies the owner and ACL information. This is the same as setting all the flags individually. |
Return value
This method returns the following HRESULT values, as well as others.
| Return code | Description |
|---|---|
|
Successfully retrieved the flags. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista, Windows XP with SP2,KB842773 on Windows Server 2003, and Windows XP |
| Minimum supported server | Windows Server 2008, Windows Server 2003 with SP1 |
| Target Platform | Windows |
| Header | bits2_0.h (include Bits.h) |
| Library | Bits.lib |
| DLL | BitsPrx3.dll |
See also
Feedback
Was this page helpful?
