IADsSecurityDescriptor::CopySecurityDescriptor 方法 (iads.h)
IADsSecurityDescriptor::CopySecurityDescriptor 方法复制保存有关对象的安全数据的 ADSI 安全描述符对象。
语法
HRESULT CopySecurityDescriptor(
[out] IDispatch **ppSecurityDescriptor
);
parameters
[out] ppSecurityDescriptor
指向指向安全描述符对象的指针的指针的指针。
返回值
此方法返回标准返回值,包括 E_INVALIDARG、 E_OUTOFMEMORY、 E_UNEXPECTED、 E_FAIL以及 S_OK。 有关其他返回值的详细信息,请参阅 ADSI 错误代码。
要求
最低受支持的客户端 | Windows Vista |
最低受支持的服务器 | Windows Server 2008 |
目标平台 | Windows |
标头 | iads.h |
DLL | Activeds.dll |
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈