IGroupServiceImportGroupsFromFlatFile Method

Imports groups from a flat file.

Namespace: Dundas.BI.AccountServices
Assembly: 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
)

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, IReadOnlyCollectionString
A tuple containing lists of errors and warnings encountered during the import.
Exceptions
ExceptionCondition
ArgumentNullExceptiontextReader 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.

InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also