groupmember

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: BSD-3-Clause Imports: 4 Imported by: 6

Documentation

Overview

Package groupmemeber verifies group membership of the provided user on the local system.

Index

Constants

This section is empty.

Variables

View Source
var ErrNotImplemented = errors.New("not implemented for GOOS=" + runtime.GOOS)

Functions

func IsMemberOfGroup

func IsMemberOfGroup(group, userName string) (bool, error)

IsMemberOfGroup verifies if the provided user is member of the provided system group. If verfication fails, an error is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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