MCPcopy
hub / github.com/saltstack/salt / chfullname

Function chfullname

salt/modules/win_useradd.py:684–703  ·  view source on GitHub ↗

Change the full name of the user Args: name (str): The username for which to change the full name fullname (str): The new value for the full name Returns: bool: ``True`` if successful, otherwise ``False``. CLI Example: .. code-block:: bash

(name, fullname)

Source from the content-addressed store, hash-verified

682
683
684def chfullname(name, fullname):
685 """
686 Change the full name of the user
687
688 Args:
689
690 name (str): The username for which to change the full name
691
692 fullname (str): The new value for the full name
693
694 Returns:
695 bool: ``True`` if successful, otherwise ``False``.
696
697 CLI Example:
698
699 .. code-block:: bash
700
701 salt '*' user.chfullname user 'First Last'
702 """
703 return update(name=name, fullname=fullname)
704
705
706def chgroups(name, groups, append=True):

Callers

nothing calls this directly

Calls 1

updateFunction · 0.70

Tested by

no test coverage detected