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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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