aadimport

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 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