TaskFolderGetSecurityDescriptor Method

Note: This API is now obsolete.
Gets 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.0
[ObsoleteAttribute("This method will be removed in deference to the GetAccessControl and GetSecurityDescriptorSddlForm methods.")]
public GenericSecurityDescriptor GetSecurityDescriptor(
	SecurityInfos includeSections = SecurityInfos.Owner|SecurityInfos.Group|SecurityInfos.DiscretionaryAcl
)

Parameters

includeSections  SecurityInfos  (Optional)
Section(s) of the security descriptor to return.

Return Value

GenericSecurityDescriptor
The security descriptor for the folder.

See Also