ldapctr

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LdapController

type LdapController struct {
	common.BaseController
}

func (*LdapController) GetUserByFilter

func (c *LdapController) GetUserByFilter()

ldap查询用户列表

func (*LdapController) URLMapping

func (c *LdapController) URLMapping()

type User

type User struct {
	Name      string `json:"label"` // 姓名
	AccountId string `json:"value"` // 域账号ID
}

func GetUserByFilter

func GetUserByFilter(filter string) (users []*User, err error)

根据Name或AccountId获取用户信息

Jump to

Keyboard shortcuts

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