Documentation
¶
Index ¶
- func CleanupTestUsers()
- func CreateWindowsTestUser(t *testing.T, username string) bool
- func GetOrCreateTestUser(t *testing.T) string
- func GetTestUsername(t *testing.T) string
- func IsCI() bool
- func IsSystemAccount(username string) bool
- func RegisterTestUserCleanup(username string)
- func RemoveWindowsTestUser(username string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateWindowsTestUser ¶
CreateWindowsTestUser creates a local user on Windows using PowerShell
func GetOrCreateTestUser ¶
GetOrCreateTestUser creates a test user on Windows if needed
func GetTestUsername ¶
GetTestUsername returns an appropriate username for testing
func IsSystemAccount ¶
IsSystemAccount checks if the user is a system account that can't authenticate
func RegisterTestUserCleanup ¶
func RegisterTestUserCleanup(username string)
RegisterTestUserCleanup registers a test user for cleanup
func RemoveWindowsTestUser ¶
func RemoveWindowsTestUser(username string)
RemoveWindowsTestUser removes a local user on Windows using PowerShell
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.