 | TaskPrincipalValidateAccountForSidType Method |
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntaxpublic static bool ValidateAccountForSidType(
string acct,
TaskProcessTokenSidType sidType
)
Request Example
View SourceParameters
- acct String
- The user or group account name.
- sidType TaskProcessTokenSidType
- The SID type for the process.
Return Value
Booleantrue if supplied account can be used for the supplied SID type.
See Also