
๐ Get User Last-Login Info
Step 1: Create a new Go project
go mod init your-module-nameStep 2: Install the "go-atlassian" library
go get github.com/ctreminiom/go-atlassianStep 3: Import the required packages
package main
import (
"fmt"
"log"
"github.com/ctreminiom/go-atlassian/admin"
)Step 4: Set up Cloud Admin client
Step 5: Extract the organization ID

Step 6: Extract the organization users
Step 7: Extract the last-login date
Last updated
Was this helpful?