Click or drag to resize

UserInfoLocalUserExists Method

Determines if local user exists.

Namespace: GSF.Identity
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public static bool LocalUserExists(
	string userName
)
View Source

Parameters

userName  String
User name to test for existence.

Return Value

Boolean
true if userName exists; otherwise, false.
Exceptions
ExceptionCondition
ArgumentNullExceptionuserName was null.
ArgumentExceptionNo userName was specified.
See Also