IAccountServiceImportAccountsFromFlatFile(TextReader, ImportMembershipObjectOptions) Method |
Imports the accounts from a flat file.
Namespace: Dundas.BI.AccountServicesAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax(IReadOnlyCollection<string> Errors, IReadOnlyCollection<string> Warnings) ImportAccountsFromFlatFile(
TextReader textReader,
ImportMembershipObjectOptions options
)
Function ImportAccountsFromFlatFile (
textReader As TextReader,
options As ImportMembershipObjectOptions
) As (Errors As IReadOnlyCollection(Of String), Warnings As IReadOnlyCollection(Of String))
ValueTuple<IReadOnlyCollection<String^>^, IReadOnlyCollection<String^>^> ImportAccountsFromFlatFile(
TextReader^ textReader,
ImportMembershipObjectOptions^ options
)
abstract ImportAccountsFromFlatFile :
textReader : TextReader *
options : ImportMembershipObjectOptions -> ValueTuple<IReadOnlyCollection<string>, IReadOnlyCollection<string>> Parameters
- textReader TextReader
- The text reader providing the content of the flat file.
- options ImportMembershipObjectOptions
- The options to control the import process.
Return Value
ValueTupleIReadOnlyCollectionString,
IReadOnlyCollectionStringA tuple containing lists of errors and warnings encountered during the import.
Exceptions
Remarks
If the caller is associated with a tenant, the accounts will be filtered so that only the accounts associated with that tenant are imported.
If any error occurs while importing an account, it will be added to the error collection and the importing of that account will be skipped.
See Also