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

Question

Question

add windows account using sdk

asked on August 7, 2015 Show version history

I can see in the documentation that we can create Laserfiche Users and Groups using SDK as below, but can we add AD user accounts under License Manager and Windows Account node of Admin UI as well?

// Creating Laserfiche users and Groups 

// Creates a user named "My User."
LFUser NewUser = new LFUser();
NewUser.Create(DB, "My User");
// Creates a group named "My Group."
LFGroup NewGroup = new LFGroup();
NewGroup.Create(DB, "My Group"); 

 

0 0

Answer

SELECTED ANSWER
replied on August 7, 2015

Use the LFDomainAccount class (in LFSO) to configure rights for AD users. Use the LFLaserficheNamedUserCollection class returned by LFServer.GetAllLaserficheNamedUsers() to add/remove named users.  To update the named user status for an existing user, check out the named user functions on the LFServer class (GetLaserficheNamedUserBySid, GetLaserficheNamedUserByNameAndRepositoryName, etc).

1 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.