Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The IsValidSecurityDescriptor function determines whether the components of a security descriptor are valid.
BOOL IsValidSecurityDescriptor(
[in] PSECURITY_DESCRIPTOR pSecurityDescriptor
);
[in] pSecurityDescriptor
A pointer to a SECURITY_DESCRIPTOR structure that the function validates.
If the components of the security descriptor are valid, the return value is nonzero.
If any of the components of the security descriptor are not valid, the return value is zero. There is no extended error information for this function; do not call GetLastError.
The IsValidSecurityDescriptor function checks the validity of the components that are present in the security descriptor. It does not verify whether certain components are present nor does it verify the contents of the individual ACE or ACL.
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2003 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | securitybaseapi.h (include Windows.h) |
Library | Advapi32.lib |
DLL | Advapi32.dll |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today