|
UserInfoCreateLocalUser Method
|
Creates a new local user if it does not exist already.
Namespace: GSF.IdentityAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax Public Shared Function CreateLocalUser (
userName As String,
password As String,
Optional userDescription As String = Nothing
) As Boolean
static member CreateLocalUser :
userName : string *
password : string *
?userDescription : string
(* Defaults:
let _userDescription = defaultArg userDescription null
*)
-> bool
GSF.Identity.UserInfo.CreateLocalUser = function(userName, password, userDescription);
View SourceParameters
- userName String
- User name to create if it doesn't exist.
- password String
- Password to user for new user.
- userDescription String (Optional)
- Optional user description.
Return Value
Booleantrue if user was created; otherwise,
false if user already existed.
Exceptions See Also