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.244-beta+c33f622c070b2c1078a06bcb41bdeb4c19d19a0b
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