Help us shape the future of Go! Take the 2026 Go Developer Survey

aadimport

package
v0.1.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateGraphClient

func CreateGraphClient(tenantId string, clientId string, secret string) (*msgraphsdk.GraphServiceClient, error)

func LoadGroupsAndUsers

func LoadGroupsAndUsers(client *msgraphsdk.GraphServiceClient, adminGroupId string, firewallGroups []string) ([]ADGroups, []ADUsers, error)

Types

type ADGroups

type ADGroups struct {
	Id             string
	Name           string
	NormalizedName string
	Users          []ADUsers
}

type ADUsers

type ADUsers struct {
	Id      string
	Upn     string
	Name    string
	IsAdmin bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL