IGroupServiceImportGroupsFromFlatFile Method |
Imports groups 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) ImportGroupsFromFlatFile(
TextReader textReader,
ImportMembershipObjectOptions options
)
Function ImportGroupsFromFlatFile (
textReader As TextReader,
options As ImportMembershipObjectOptions
) As (Errors As IReadOnlyCollection(Of String), Warnings As IReadOnlyCollection(Of String))
ValueTuple<IReadOnlyCollection<String^>^, IReadOnlyCollection<String^>^> ImportGroupsFromFlatFile(
TextReader^ textReader,
ImportMembershipObjectOptions^ options
)
abstract ImportGroupsFromFlatFile :
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| Exception | Condition |
|---|
| ArgumentNullException | textReader is .
-or- options is .
|
| InvalidOperationException | Column appears in the header more than once. -or- Column is missing. -or- The file format is invalid: header is missing. |
| NoPrivilegeException | The caller does not have system administration privileges. -or- The caller is associated with a tenant, but does not have administration privileges for that tenant. |
| InvalidSessionException | The caller context is not associated with a valid session. |
See Also