models

package
v0.0.0-...-115c157 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Directory

type Directory struct {
	Id                        string
	Name                      string
	BaseDN                    string
	HostName                  string
	UserConfigurationName     string
	PasswordConfigurationName string
}

type DirectoryObject

type DirectoryObject struct {
	Id         string
	ObjectType string
	Name       string
	Data       string
}

type Group

type Group struct {
	Id         string
	ObjectType string
	Location   string
	Type       string
	Name       string
	Members    []string
}

type User

type User struct {
	Id              string
	ObjectType      string
	Location        string
	Upn             string
	Name            string
	Email           string
	GivenName       string
	Surname         string
	Manager         string
	Type            string
	Company         string
	Department      string
	Status          string
	Title           string
	CredentialInfo  *UserCredentialInfo
	GroupMembership []string

	CreatedAt     time.Time
	LastUpdatedAt time.Time
}

type UserCredentialInfo

type UserCredentialInfo struct {
	FailedLoginAttempts    int
	LastFailedLoginAttempt time.Time
	LastLogin              time.Time
	LoginCount             int
	PasswordLastSet        time.Time
}

Jump to

Keyboard shortcuts

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