createuser

package
v0.0.0-...-294dc8c Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CreateUserHelp contains the short help text for the command.
	CreateUserHelp = "Creates a new user in OpenSlides"

	// CreateUserHelpExtra contains the long help text for the command without
	// the headline.
	CreateUserHelpExtra = `` /* 257-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the subcommand.

func CreateUser

func CreateUser(ctx context.Context, in *proto.CreateUserRequest, ba backendAction) (*proto.CreateUserResponse, error)

CreateUser creates the given user. This function is the server side entrypoint for this package.

func Run

func Run(ctx context.Context, gc gRPCClient, userData []byte) error

Run calls respective procedure to set password of the given user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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