UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:taskschd.ITaskFolder.SetSecurityDescriptor |
ITaskFolder::SetSecurityDescriptor (taskschd.h) |
Sets the security descriptor for the folder. |
|
taskschd\itaskfolder_setsecuritydescriptor.htm |
taskschd |
54f8a37b-87ac-449c-8e03-aeacd27e8c97 |
12/05/2018 |
ITaskFolder interface [Task Scheduler],SetSecurityDescriptor method, ITaskFolder.SetSecurityDescriptor, ITaskFolder::SetSecurityDescriptor, SetSecurityDescriptor, SetSecurityDescriptor method [Task Scheduler], SetSecurityDescriptor method [Task Scheduler],ITaskFolder interface, taskschd.itaskfolder_setsecuritydescriptor, taskschd/ITaskFolder::SetSecurityDescriptor |
taskschd.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
Taskschd.lib |
Taskschd.dll |
Windows |
19H1 |
|
|
|
|
|
|
Sets the security descriptor for the folder.
The security descriptor for the folder.
Note If the Local System account is denied access to a task folder, then the Task Scheduler service can produce unexpected results.
A value that specifies how the security descriptor is set.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
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.