This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Getting the permission on the document in Aras

Sachin - Tuesday, October 11, 2011 8:25 AM:

hi

     I need to check current user has private permission on a document object in Aras. which API will help me to getting private permission on a give document.

Plz Send me your ideas........

Thanx

Sachin



fli - Wednesday, October 12, 2011 8:12 AM:

Hi,

my geuss is to retrive the permission_id property. get the specific permission, test if the user is related to the permission.

i am not sure

Christoffer



Sachin - Thursday, October 13, 2011 1:43 AM:

ThanX For reply

ok

      if we retrive Permission_ID property then.

      How cn i test user is related to  which permission? You have any code for that?

 

Sachin



fli - Friday, October 14, 2011 3:40 AM:

 

still guessing, but. "Permission" has a relationship to "Identity", retrive this relationship Item for source_id  = permission_id and related_id  = "the identity you wish to check for"

then    IF (     getItemount() . = = 1       ) 

Christoffer