Enables or disables metadata security by Entity dimension members’ SecurityAsPartner attributes.
By default, metadata security is determined by the security classes assigned to dimension members. However, for the Entity dimension you can use this method to enable and disable an alternate form of security that uses entities’ SecurityAsPartner attributes, and not their SecurityClass attributes, to determine access rights.
If you enable SecurityAsPartner attribute security, it is in effect for the session until you disable it.
<HFMwMetadata>.EnableOrDisableUseSecurityAsPartner vbEnabled