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

Question

Question

LFDS Group Membership Report

asked on October 2, 2023

HI All,

 

Is there an easy way to run a report from LFDS to show users and group membership of LFDS groups?

 

I can't see an option here unless I'm missing something obvious? If this isn't currently possible, please can I add this as a feature request.

 

Cheers!

Chris Douglas

1 0

Answer

SELECTED ANSWER
replied on October 9, 2023

Hi Chris,

This is on our list of potential enhancements to the user listing, but I don't have an ETA for this specific request. I've added a link to this post.

For now, there are two workarounds if you'd like to try them:

 

Some workarounds to retrieve the structured data of the group membership:

  1. retrieve from the web request LFDS makes
  2. retrieve using LMO

 

Retrieve from the web request:

  1. open the browser and navigate to the group
  2. open the devtools and go to the network tab
  3. refresh the page
  4. find a request which path is "GetGroupMembersByOptions" and the response contains the information of the membership

 

Retrieve using LMO sample script, written for PowerShell:


Add-Type -Path ("C:\Program Files\Laserfiche\Directory Server\Web\WebSTS\bin\LicenseManagerObjects.dll") >$null

$lfdsFqdn = "Your LFDS FQDN"

$server = [Laserfiche.LicenseManager.LMO.Server]::Connect($lfdsFqdn, $False)

$LicensingSiteName = "Your LFDS site name"

$LicensingSite = $server.GetDatabaseByRealmName($LicensingSiteName)

$LicensingSite.LoginWindows();



$groups = $licensingsite.GetAllGroups()

foreach ($group in $groups)

{

    Write-Output "===Group $($group.Name)==="

    $members = $group.GetMembers()

    Write-Output $members.PSBase.Values

}
0 0
replied on October 11, 2023

Thanks Brianna!

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.