-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve WindowsSessionUser doscstring
Signed-off-by: Robert Luttrell <[email protected]>
- Loading branch information
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,8 +79,12 @@ def is_domain_joined() -> bool: | |
def __init__(self, user: str, *, group: str) -> None: | ||
""" | ||
Arguments: | ||
user (str): The user | ||
group (str): The group | ||
user (str): User name of the identity to run the Session's subprocesses under. | ||
This can be either a plain username for a local user or a domain username in down-level logon form | ||
ex: localUser, domain\\domainUser, [email protected] | ||
group (str): Group name of the identity to run the Session's subprocesses under. | ||
This can be just a group name for a local group, or a domain group in down-level format. | ||
ex: localGroup, domain\\domainGroup | ||
""" | ||
if not is_windows(): | ||
raise RuntimeError("Only available on Windows systems.") | ||
|