Is there someone who know how to get DocumentAccessRights set by default for a user on a library before add a doc in it.

I just want to preview them in my own form to inform the user rather than going to the GW-Options-Documents-Library Properties-default value of sharing.

Because, i don't find the way in OAPII, i had a work around.
- I create a temporary doc on disk, add it in the libray, read the properties and delete it.
Work fine , but some users don't have "deleted" rights in the library and they get many "garbage" doc.

Any idea ?

L.P. Irovetz
Arcane GroupWare