| 
            
              UserInfoLocalUserExists Method
             | 
          
        
        
            Determines if local user exists.
            
        
        Namespace: GSF.IdentityAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
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.
Exceptions| Exception | Condition | 
|---|
| ArgumentNullException | userName was null. | 
| ArgumentException | No userName was specified. | 
See Also