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

Question

Question

Add new user to Laserfiche

asked on April 18, 2023

Is it possible to create a new Repository Laserfiche user from SDK or API?

0 0

Replies

replied on April 18, 2023

Hi Mary,

Great question and this is a feature we are discussing for the Laserfiche API.  I don't have any timeline for this capability right now to provide you, but we will be rolling out new API routes in the near future.

 

Best,

Andrew

 

2 0
replied on April 26, 2023

Hi Andrew,

Ok I will wait for these great features

0 0
replied on April 18, 2023

I don't see a way to do it via the API. The API is lacking most administration-level capabilities. Not certain about the SDK.

The way I automate mine is to use an Active Directory group that is part of my identity provider rules in Laserfiche Directory Server. That way, to assign licensing, I only have to add a user to the AD group. I also use dynamic AD groups for repository permissions, so the user will automatically receive permissions based upon job title, department, etc.

1 0
replied on April 18, 2023

You can create a repository user with the SDK by instantiating a UserInfo object, setting the properties, and calling Save(). This only works for repository users (or groups) since in those cases the Laserfiche server manages the trustee itself. For LFDS or AD users, you have to create them there.

0 0
replied on April 26, 2023

Hi Brian,

I tried to use SDK to create a new user but I can't set the named user property from the SDK

This is part of the code

UserInfo UI = new UserInfo();
UI.Session = session;
UI.Name = "UserName";
UI.Password = "password";
UI.NamedUserStatus = NamedUserStatus.ReadWrite;
UI.Save();

 

0 0
replied on April 26, 2023
1 0
replied on May 25, 2023

I have this error when using this solution when accessing the server

"Failed to authenticate: InitializeSecurityContext failed"

can you help me with this error? 

 

I replied to this answer but with no reply

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

Sign in to reply to this post.