IMetaDataEmit::SetPermissionSetProps Method
Sets or updates features of the metadata signature of a permission set defined by a prior call to IMetaDataEmit::DefinePermissionSet Method.
HRESULT SetPermissionSetProps (
[in] mdToken tk,
[in] DWORD dwAction,
[in] void const *pvPermission,
[in] ULONG cbPermission,
[out] mdPermission *ppm
);
Parameters
Parameter | Description |
---|---|
tk |
[in] A metadata token that represents the object to be decorated. |
dwAction |
[in] A CorDeclSecurity Enumeration value that specifies the type of declarative security to be used. |
pvPermission |
[in] The permission BLOB. |
cbPermission |
[in] The size, in bytes, of pvPermission. |
ppm |
[out] An mdPermission metadata token that represents the updated permissions. |
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: Cor.h
Library: Used as a resource in Mscoree.dll
.NET Framework Version: 2.0, 1.1, 1.0