Share via


IMetaDataImport::GetPermissionSetProps Method

Gets the metadata associated with the System.Security.PermissionSet represented by the specified Permission token.

HRESULT GetPermissionSetProps (
    mdPermission      pm,
    DWORD             *pdwAction, 
    void const        **ppvPermission, 
    ULONG             *pcbPermission
);

Parameters

Parameter Description

pm

[in] The Permission metadata token that represents the permission set to get the metadata properties for.

pdwAction

[out] A pointer to the permission set.

ppvPermission

[out] A pointer to the binary metadata signature of the permission set.

pcbPermission

[out] The size in bytes of ppvPermission.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Included as a resource in Mscoree.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

IMetaDataImport Interface
IMetaDataImport2 Interface
PermissionSet