 | TaskGetSecurityDescriptorSddlForm Method |
Gets the security descriptor for the task. Not available to Task Scheduler 1.0.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxpublic string GetSecurityDescriptorSddlForm(
SecurityInfos includeSections = SecurityInfos.Owner|SecurityInfos.Group|SecurityInfos.DiscretionaryAcl
)
Public Function GetSecurityDescriptorSddlForm (
Optional includeSections As SecurityInfos = SecurityInfos.Owner Or SecurityInfos.Group Or SecurityInfos.DiscretionaryAcl
) As String
public:
String^ GetSecurityDescriptorSddlForm(
SecurityInfos includeSections = SecurityInfos::Owner|SecurityInfos::Group|SecurityInfos::DiscretionaryAcl
)
Request Example
View SourceParameters
- includeSections (Optional)
- Type: System.Security.AccessControlSecurityInfos
Section(s) of the security descriptor to return.
Return Value
Type:
StringThe security descriptor for the task.
Exceptions
See Also