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

Question

Question

SDK - how to set "Only allow read-only access" on an account

asked on June 3, 2015

Hello!

I have been looking through the SDK docs.  I need to write something to update a lot of user accounts by checking the "Only allow read-only access" box so they can use the Weblink Public Portal.  (I understand this box must be checked to allow public portal access - a fact about which I will grumble in another thread, or to sales...)  :)

Is this box set by setting AccountInfo.ReadonlyAccess=True for an account ? 

So far that appears to be the case.  Before I dig in, anyone know for sure?

 

 

Thanks in advance.

1 0

Answer

SELECTED ANSWER
replied on June 4, 2015 Show version history

I think that's the one. However you may be making this more complex than it needs to be. 

 

Are these domain users or Laserfiche accounts? If it's laserfiche accounts you need to keep doing what your doing.

If it's domain users I generally never setup an actual user for them, I just put them into a group for their security needs, then put that group (and others) into a group that called "Public Portal Access" and I add that group in and set the "Read only" checkbox there. 

 

At that point you only need to add people to the appropriate domain laserfiche security groups to give access to the proper lf locations they should have access in public portal that they need to see. 

3 0
replied on June 4, 2015

Thanks Chris

This is a migration from an existing repository on V7 to V9.

I have both LF accounts and AD accounts.  Currently these users are not in an AD group. 

(I guess I could direct my efforts to writing something to build the AD group from the existing LF group of AD users. :)  Either way, I have hundreds of users who need to be modified so automation is the key.)

 

0 0
replied on June 4, 2015

Just be careful that none of your users' groups have any admin rights. (Features). If they have anything beyond bypass browse it assumes they are admins and uses the 2 admin users. 

 

0 0

Replies

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

Sign in to reply to this post.