Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorGroupNotFoundForGroupId = errors.New("group not found for the group id") ErrorGroupNotFoundForName = errors.New("group not found for the name") )
Functions ¶
This section is empty.
Types ¶
type CreateOpt ¶
type CreateOpt func(opt *createOpts) *createOpts
func CompanyManaged ¶
func CompanyManaged() CreateOpt
func ManagementType ¶
func UserManaged ¶
func UserManaged() CreateOpt
type Group ¶
type Group interface { Resolve(groupId string) (g *mo_group.Group, err error) ResolveByName(groupName string) (g *mo_group.Group, err error) List() (g []*mo_group.Group, err error) Create(name string, opt ...CreateOpt) (g *mo_group.Group, err error) Remove(groupId string) error Update(group *mo_group.Group) (g *mo_group.Group, err error) }
func New ¶
func New(ctx dbx_context.Context) Group
func NewCached ¶
func NewCached(ctx dbx_context.Context) Group
Click to show internal directories.
Click to hide internal directories.