The IncludeUsers property specifies whether the database users on the source will be scripted and transferred during on object transfer operation.
| TransferObjectsTask Object |
object.IncludeUsers[= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| value | Whether the database users on the source will be scripted and transferred |
The default is False.
Boolean
Read/write
HRESULT GetIncludeUsers(VARIANT_BOOL *pRetVal);
HRESULT SetIncludeUsers(VARIANT_BOOL NewValue);
| CopyAllObjects Property | DropDestinationObjectsFirst Property |
| CopyData Property | IncludeDependencies Property |
| CopySchema Property | IncludeLogins Property |