|
UserInfoLocalUserExists Method
|
Determines if local user exists.
Namespace: GSF.IdentityAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
Syntaxpublic static bool LocalUserExists(
string userName
)
Public Shared Function LocalUserExists (
userName As String
) As Boolean
public:
static bool LocalUserExists(
String^ userName
)
static member LocalUserExists :
userName : string -> bool
GSF.Identity.UserInfo.LocalUserExists = function(userName);
View SourceParameters
- userName String
- User name to test for existence.
Return Value
Booleantrue if
userName exists; otherwise,
false.
ExceptionsException | Condition |
---|
ArgumentNullException | userName was null. |
ArgumentException | No userName was specified. |
See Also