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

Function chprofile

salt/modules/win_useradd.py:662–681  ·  view source on GitHub ↗

Change the profile directory of the user Args: name (str): The name of the user whose profile you wish to change profile (str): The new location of the profile Returns: bool: ``True`` if successful, otherwise ``False``. CLI Example: .. code-block::

(name, profile)

Source from the content-addressed store, hash-verified

660
661
662def chprofile(name, profile):
663 """
664 Change the profile directory of the user
665
666 Args:
667
668 name (str): The name of the user whose profile you wish to change
669
670 profile (str): The new location of the profile
671
672 Returns:
673 bool: ``True`` if successful, otherwise ``False``.
674
675 CLI Example:
676
677 .. code-block:: bash
678
679 salt '*' user.chprofile foo \\\\fileserver\\profiles\\foo
680 """
681 return update(name=name, profile=profile)
682
683
684def chfullname(name, fullname):

Callers

nothing calls this directly

Calls 1

updateFunction · 0.70

Tested by

no test coverage detected