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