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.191-beta+925724bd48239ba1d4417fe63f8c4977892ab734
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