CommandImportUsers - метод
Пространство имён: Tessa.Extensions.Default.Console.ImportUsersСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 3.6.0.22
[VerbAttribute("ImportUsers")]
[LocalizableDescriptionAttribute("Common_CLI_ImportUsers")]
public static Task ImportUsers(
[OutputAttribute] TextWriter stdOut,
[ErrorAttribute] TextWriter stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute("Common_CLI_SourceUserFile")] string pathToUserFile,
[ArgumentAttribute("sd")][LocalizableDescriptionAttribute("Common_CLI_SourceDepartmentFile")] string pathToDepartmentFile = null,
[ArgumentAttribute("a")][LocalizableDescriptionAttribute("Common_CLI_Address")] string address = null,
[ArgumentAttribute("i")][LocalizableDescriptionAttribute("Common_CLI_Instance")] string instanceName = null,
[ArgumentAttribute("u")][LocalizableDescriptionAttribute("Common_CLI_UserName")] string userName = null,
[ArgumentAttribute("p")][LocalizableDescriptionAttribute("Common_CLI_Password")] string password = null,
[ArgumentAttribute("cs")][LocalizableDescriptionAttribute("Common_CLI_ConfigurationString")] string configurationString = null,
[ArgumentAttribute("db")][LocalizableDescriptionAttribute("Common_CLI_DatabaseName")] string databaseName = null,
[ArgumentAttribute("q")][LocalizableDescriptionAttribute("Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute("nologo")][LocalizableDescriptionAttribute("CLI_NoLogo")] bool nologo = false
)
<VerbAttribute("ImportUsers")>
<LocalizableDescriptionAttribute("Common_CLI_ImportUsers")>
Public Shared Function ImportUsers (
<OutputAttribute> stdOut As TextWriter,
<ErrorAttribute> stdErr As TextWriter,
<ArgumentAttribute><LocalizableDescriptionAttribute("Common_CLI_SourceUserFile")> pathToUserFile As String,
<ArgumentAttribute("sd")><LocalizableDescriptionAttribute("Common_CLI_SourceDepartmentFile")> Optional pathToDepartmentFile As String = Nothing,
<ArgumentAttribute("a")><LocalizableDescriptionAttribute("Common_CLI_Address")> Optional address As String = Nothing,
<ArgumentAttribute("i")><LocalizableDescriptionAttribute("Common_CLI_Instance")> Optional instanceName As String = Nothing,
<ArgumentAttribute("u")><LocalizableDescriptionAttribute("Common_CLI_UserName")> Optional userName As String = Nothing,
<ArgumentAttribute("p")><LocalizableDescriptionAttribute("Common_CLI_Password")> Optional password As String = Nothing,
<ArgumentAttribute("cs")><LocalizableDescriptionAttribute("Common_CLI_ConfigurationString")> Optional configurationString As String = Nothing,
<ArgumentAttribute("db")><LocalizableDescriptionAttribute("Common_CLI_DatabaseName")> Optional databaseName As String = Nothing,
<ArgumentAttribute("q")><LocalizableDescriptionAttribute("Common_CLI_Quiet")> Optional quiet As Boolean = false,
<ArgumentAttribute("nologo")><LocalizableDescriptionAttribute("CLI_NoLogo")> Optional nologo As Boolean = false
) As Task
public:
[VerbAttribute(L"ImportUsers")]
[LocalizableDescriptionAttribute(L"Common_CLI_ImportUsers")]
static Task^ ImportUsers(
[OutputAttribute] TextWriter^ stdOut,
[ErrorAttribute] TextWriter^ stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute(L"Common_CLI_SourceUserFile")] String^ pathToUserFile,
[ArgumentAttribute(L"sd")][LocalizableDescriptionAttribute(L"Common_CLI_SourceDepartmentFile")] String^ pathToDepartmentFile = nullptr,
[ArgumentAttribute(L"a")][LocalizableDescriptionAttribute(L"Common_CLI_Address")] String^ address = nullptr,
[ArgumentAttribute(L"i")][LocalizableDescriptionAttribute(L"Common_CLI_Instance")] String^ instanceName = nullptr,
[ArgumentAttribute(L"u")][LocalizableDescriptionAttribute(L"Common_CLI_UserName")] String^ userName = nullptr,
[ArgumentAttribute(L"p")][LocalizableDescriptionAttribute(L"Common_CLI_Password")] String^ password = nullptr,
[ArgumentAttribute(L"cs")][LocalizableDescriptionAttribute(L"Common_CLI_ConfigurationString")] String^ configurationString = nullptr,
[ArgumentAttribute(L"db")][LocalizableDescriptionAttribute(L"Common_CLI_DatabaseName")] String^ databaseName = nullptr,
[ArgumentAttribute(L"q")][LocalizableDescriptionAttribute(L"Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute(L"nologo")][LocalizableDescriptionAttribute(L"CLI_NoLogo")] bool nologo = false
)
[<VerbAttribute("ImportUsers")>]
[<LocalizableDescriptionAttribute("Common_CLI_ImportUsers")>]
static member ImportUsers :
[<OutputAttribute>] stdOut : TextWriter *
[<ErrorAttribute>] stdErr : TextWriter *
[<ArgumentAttribute>][<LocalizableDescriptionAttribute("Common_CLI_SourceUserFile")>] pathToUserFile : string *
[<ArgumentAttribute("sd")>][<LocalizableDescriptionAttribute("Common_CLI_SourceDepartmentFile")>] ?pathToDepartmentFile : string *
[<ArgumentAttribute("a")>][<LocalizableDescriptionAttribute("Common_CLI_Address")>] ?address : string *
[<ArgumentAttribute("i")>][<LocalizableDescriptionAttribute("Common_CLI_Instance")>] ?instanceName : string *
[<ArgumentAttribute("u")>][<LocalizableDescriptionAttribute("Common_CLI_UserName")>] ?userName : string *
[<ArgumentAttribute("p")>][<LocalizableDescriptionAttribute("Common_CLI_Password")>] ?password : string *
[<ArgumentAttribute("cs")>][<LocalizableDescriptionAttribute("Common_CLI_ConfigurationString")>] ?configurationString : string *
[<ArgumentAttribute("db")>][<LocalizableDescriptionAttribute("Common_CLI_DatabaseName")>] ?databaseName : string *
[<ArgumentAttribute("q")>][<LocalizableDescriptionAttribute("Common_CLI_Quiet")>] ?quiet : bool *
[<ArgumentAttribute("nologo")>][<LocalizableDescriptionAttribute("CLI_NoLogo")>] ?nologo : bool
(* Defaults:
let _pathToDepartmentFile = defaultArg pathToDepartmentFile null
let _address = defaultArg address null
let _instanceName = defaultArg instanceName null
let _userName = defaultArg userName null
let _password = defaultArg password null
let _configurationString = defaultArg configurationString null
let _databaseName = defaultArg databaseName null
let _quiet = defaultArg quiet false
let _nologo = defaultArg nologo false
*)
-> Task
- stdOut TextWriter
-
- stdErr TextWriter
-
- pathToUserFile String
-
- pathToDepartmentFile String (Optional)
-
- address String (Optional)
-
- instanceName String (Optional)
-
- userName String (Optional)
-
- password String (Optional)
-
- configurationString String (Optional)
-
- databaseName String (Optional)
-
- quiet Boolean (Optional)
-
- nologo Boolean (Optional)
-
Task