Hello. Does the SDK support adding Lf Directory Accounts to a repository? I am unable to find any documentation to confirm this? If this is supported, can someone point me to some sample code to get started? Thank you for your time.
Question
Question
Replies
Hi Joseph,
The SDK does support adding LFDS accounts to a repository. While I don't have sample code offhand, you'll want to look at the Account and AccountInfo classes, and the TrusteeType enumeration (used with the AccountInfo.TrusteeType property).
You can see that TrusteeType = 5 is for LfdsAccount
Hey Sam. Thank you for your response. The TrusteeType Enumeraion is read only.
Hello Sam. Do you have an update on this? Adding multiple LFDS groups in the admin console is not supported and we would have about 250 groups to add. Thanks for your time.
Hi Joseph, I unfortunately will not have the bandwidth to test this out myself for the foreseeable future.
While it doesn't directly address the question, once the groups are registered once, in Admin Console you can Export as XML and then import with Import Repository Objects (with that XML file) to other repositories on the same or different Laserfiche Repository Server instance. Note that this method includes the Features Rights and Privileges associated with the accounts, which you may need to modify after import.