Compartilhar 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: 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

Concepts

IMetaDataImport Interface

IMetaDataImport2 Interface

Reference

PermissionSet