This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Gets the policy description for the document library in which the requested file is located.
HRESULT HrGetPolicyDescription( BSTR* pbstrPolicyDescription );
[out] The policy description for the document library in which the requested file is located.
All I_IrmPolicyInfo Class methods return HRESULT values. A positive OK value indicates the operation was successful. A negative return value indicates that the function did not succeed.
In general, if an I_IrmPolicyInfo Class method fails, the protector will not be able to recover from the error and will fail as well.
This method enables the I_IrmProtector.HrProtect Method method of an autonomous Information Rights Management (IRM) protector to determine the policy description for the document library in which the requested file is located.
Every document library that is rights-managed has an IRM policy title and an IRM policy description. This IRM policy description can be used to provide users with additional information about the IRM policy that is being enforced. For example:
“Only distribute this document to full time employees”
The IRM policy title and description should be stored in the rights-managed file so that an IRM-aware client application can display them.
For more information about integrated and autonomous protectors, see Custom IRM Protectors.