YaST2 Developers Documentation: Configuration of users and groups

Configuration of users and groups

include/users/routines.ycp
various routines
  • Jiri Suchomel

This module has an unstable interface.

Imports

  • Mode

Local Functions

local installation () -> boolean

check if this is installation stage - adding user during firstboot should be same as during 2nd stage

local GetInt (any value, integer default_value) -> integer

helper function: return the 'any' value as integer

Parameters:
value
default_value
local GetString (any value, string default_value) -> string

helper function: return the 'any' value as string

Parameters:
value
default_value
local SplitFullName (symbol what, string cn) -> string

Split cn (fullname) in forename and surname.

Parameters:
what `surname or `forename
cn fullname
Return value:
selected part of user name