secpol

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowUserToLogonAsService

func AllowUserToLogonAsService(username string) error

AllowUserToLogonAsService adds user's SID to 'seservicelogonright' config key in the security database

func RemoveLogonAsServiceUserRight

func RemoveLogonAsServiceUserRight(username string) error

func UserAllowedToLogonAsService

func UserAllowedToLogonAsService(username string) (bool, error)

UserAllowedToLogonAsService returns true if the user's sid is present in 'seservicelogonright' config key

Types

This section is empty.

Jump to

Keyboard shortcuts

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