Can you be more specific? Do you mean how can you evaluate the folder memberships of a document profile? If so take a look at the Folders property of the IManDocument type.