TaskFolder.SetSecurityDescriptor property

For scripting, sets the security descriptor for the folder.

Syntax

TaskFolder.SetSecurityDescriptor( _
  ByVal sddl, _
  ByVal flags _
)

Property value

Remarks

You can specify the access control list (ACL) in the security descriptor for a task folder in order to allow or deny certain users and groups access to a task folder.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Type library
Taskschd.tlb
DLL
Taskschd.dll

See also

RegisteredTask.SetSecurityDescriptor

TaskFolder.GetSecurityDescriptor