groupmember

package
v1.16.0 Latest Latest
Warning

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

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

Documentation

Overview

Package groupmember 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 reports whether the provided user is a member of the provided system group.

Types

This section is empty.

Jump to

Keyboard shortcuts

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