You are viewing limited content. For full access, please sign in.

Question

Question

entry rights to a specific user from workflow SDK

asked on November 16, 2016

Hello all ,

i need to check from workflow if a specific user have a specific access rights (read, write , modify ...etc ) to the starting entry.

my code started like this , a line of code that i already saw marked as answer here  .

but i am having an error as shown bellow.  

please advise.

Maher Daher.

 

0 0

Replies

replied on November 17, 2016

take a look of this code, maybe that will help

The following code accesses the combined ACL rights for a user called SecureUser on a document called SecureDoc: ( so just need to replace the variable by the proper information)

' Retrieves ACLDisplayRights from document.

Dim SecureUserRights As LFEffectiveRights =  SecureDoc.ACLDisplayRights(SecureUser)

' Checks to see if user has right "Create Files"

Dim Right As Boolean = SecureUserRights.HasRight (Access_Right.ENTRY_CREATE_DOC)

 

0 0
replied on November 17, 2016

or try this at line 27

Dim er as EntryRights = this.BoundEntryInfo.GetAclDisplayRights(new AccountReference("admin",RASession));

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.