TaskFolderSetSecurityDescriptor Method

Note: This API is now obsolete.
Sets the security descriptor for the folder. Not available to Task Scheduler 1.0.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
[ObsoleteAttribute("This method will be removed in deference to the SetAccessControl and SetSecurityDescriptorSddlForm methods.")]
public void SetSecurityDescriptor(
	GenericSecurityDescriptor sd,
	SecurityInfos includeSections = SecurityInfos.Owner|SecurityInfos.Group|SecurityInfos.DiscretionaryAcl
)

Parameters

sd  GenericSecurityDescriptor
The security descriptor for the folder.
includeSections  SecurityInfos  (Optional)
Section(s) of the security descriptor to set.

See Also