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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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