Delen via


IMetaDataImport::GetPermissionSetProps Method

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

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

Parameters

  • 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: See .NET Framework System Requirements.

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

IMetaDataImport Interface

IMetaDataImport2 Interface

PermissionSet