• Introduction
  • Web Service API
  • Callback service
Show / Hide Table of Contents
  • Overview
  • Concepts
    • API functionality
    • Web Service technology
    • Security
    • Accessing the services
    • Error reporting
    • Synchronous and asynchronous API
    • Testing
  • Translation memory API
    • Overview
    • ITMService
    • Lookup, concordance
    • Import, export
    • API
      • ConcordanceRequest
      • GenericFault
      • HeavyResourceInfo
      • HeavyResourceUpdateInfo
      • InlineTagStrictness
      • InvalidSessionIdFault
      • ITMService
      • LookupSegmentRequest
      • NoLicenseFault
      • RequestXmlFormatFault
      • ResourceInfo
      • ResourceListFilter
      • ResourceUpdateInfo
      • TMFault
      • TMInfo
      • TMListFilter
      • TMOptimizationPreference
      • TMUpdateInfo
      • TmxImportResult
      • UnauthorizedAccessFault
      • UnexpectedFault
  • Term bases API
    • Overview
    • ITBService
    • Import, export
      • CSV
      • TBX
      • MultiTerm
    • API
      • CreateQTermTBFromTBXSettings
      • CreateQTermTBFromTBXTaskResult
      • CSVImportResult
      • CSVImportSettings
      • GenericFault
      • HeavyResourceInfo
      • HeavyResourceUpdateInfo
      • ITasksService
      • ITBService
      • QTermTBImportSettings
      • ResourceInfo
      • ResourceListFilter
      • ResourceUpdateInfo
      • TaskDoesNotExistFault
      • TaskInfo
      • TaskNotFinishedFault
      • TaskResult
      • TaskStatus
      • TBCaseSensitivity
      • TBCloneInfo
      • TBFilter
      • TBFilterLangMode
      • TBInfo
      • TBMatching
      • TBNewTermDefaultForLanguage
      • TBUpdateInfo
      • TBXExportOptions
      • TBXExportTaskResult
      • TBXImportIntoExistingSettings
      • TBXImportResults
      • TBXImportSettings
      • TBXImportTaskResult
      • UnexpectedFault
  • LiveDocs API
    • Overview
    • ILiveDocsService
    • Alignment
    • API
      • AlignmentOptions
      • AlignmentResultInfo
      • CorpusIndexingOptions
      • CorpusIndexingSchedule
      • CorpusInfo
      • CorpusListFilter
      • CorpusUpdateInfo
      • DocumentForAlignment
      • GenericFault
      • HeavyResourceInfo
      • HeavyResourceUpdateInfo
      • ILiveDocsService
      • ImportBinaryFileIntoLiveDocsOptions
      • ImportFileIntoLiveDocsOptions
      • ImportFileIntoLiveDocsResultInfo
      • ImportLiveDocsXliffFileIntoLiveDocsOptions
      • ImportMonoOrBilingualFileIntoLiveDocsOptions
      • ResourceInfo
      • ResourceListFilter
      • ResourceUpdateInfo
      • ResultInfo
      • ResultStatus
      • UnexpectedFault
  • Light resources API
    • Overview
    • IResourceService
    • API
      • ExpectedFault
      • FilterConfigResourceInfo
      • FilterNames
      • GenericFault
      • IResourceService
      • LightResourceInfo
      • LightResourceInfoWithLang
      • LightResourceListFilter
      • PathRuleResourceInfo
      • PathRuleType
      • ProjectTemplateResourceInfo
      • ResourceInfo
      • ResourceType
      • ResourceUpdateInfo
      • UnexpectedFault
  • Server project API
    • Overview
    • User assignment
    • Omniscien Technologies services
    • IServerProjectService
    • API
      • AddProjectLanguageFault
      • AddProjectLanguageTBHandlingBehavior
      • AnalysisAsCSVResult
      • AnalysisAsCSVResultForLang
      • AnalysisOptions
      • AnalysisReportCounts
      • AnalysisReportForDocument
      • AnalysisReportInfo
      • AnalysisReportItem
      • AnalysisResultForLang
      • AnalysisResultInfo
      • AsiaOnlineBeginTranslationResultInfo
      • AsiaOnlineDomainCombination
      • AsiaOnlineGetDomainCombinationsResultInfo
      • AsiaOnlineGetLanguagePairCodeResultInfo
      • AsiaOnlineGetProjectIdsResultInfo
      • AsiaOnlineTranslateOptions
      • AsiaOnlineTranslationResultInfo
      • AsiaOnlineTranslationStatus
      • AssignmentChangeHistoryItemInfo
      • AutomatedActionStartedHistoryItemInfo
      • AutomatedActionStartedHistoryItemInfo.AutomatedActionTypes
      • BilingualDocFormat
      • CannotStartOperationFault
      • ConfirmAndUpdateDocError
      • ConfirmAndUpdateOptions
      • ConfirmAndUpdateResultInfo
      • ConfirmAndUpdateSegmentStatuses
      • ConfirmAndUpdateTaskResult
      • ConfirmAndUpdateTMBehaviors
      • ConfirmAndUpdateUserNameBehaviors
      • CreateDeliveryResult
      • CustomPreTranslateParameter
      • DeadlineChangeHistoryItemInfo
      • DeliverDocumentFault
      • DeliverDocumentRequest
      • DocDeliveryResult
      • DocDeliveryResultInfo
      • DocumentBilingualImportHistoryItemInfo
      • DocumentDeliverHistoryItemInfo
      • DocumentExportOptions
      • DocumentHistoryItemInfo
      • DocumentHistoryItemType
      • DocumentHistoryRequest
      • DocumentImportHistoryItemInfo
      • DocumentReturnHistoryItemInfo
      • DocumentRowsLockedHistoryItemInfo
      • DocumentRowsLockedHistoryItemInfo.LockModes
      • DocumentSlicingHistoryItemInfo
      • DocumentSnapshotCreatedHistoryItemInfo
      • DocumentStatus
      • DocumentXTranslationHistoryItemInfo
      • ExpectedFinalStateAfterXTranslate
      • ExpectedSourceStateBeforeXTranslate
      • FileResultInfo
      • FirstAcceptAcceptHistoryItemInfo
      • FirstAcceptAssignHistoryItemInfo
      • FirstAcceptDeclineHistoryItemInfo
      • FirstAcceptFailedHistoryItemInfo
      • FirstAcceptStatus
      • FirstAcceptUserDecision
      • GenericFault
      • GroupSourcingAssignHistoryItemInfo
      • GroupSourcingDocumentDeliverHistoryItemInfo
      • ImportImageLocalizationPackResultInfo
      • ImportTranslationDocumentOptions
      • IServerProjectService
      • ListServerProjectTranslationDocument2Options
      • ListServerProjectTranslationDocumentSliceOptions
      • ListTranslationDocumentAssignmentsOptions
      • NewRevisionScenarioOptions
      • PackageContentDocument
      • PackageContentInfo
      • PackageCreationNotAllowedFault
      • PackageDeliveryOptions
      • PackageDeliveryResult
      • PackageDeliveryResultInfo
      • PackageInfo
      • PostTransAnalysisReportForDocument
      • PostTransAnalysisReportForUser
      • PostTransAnalysisReportItem
      • PostTranslationAnalysisAsCSVResult
      • PostTranslationAnalysisAsCSVResultForLang
      • PostTranslationAnalysisOptions
      • PostTranslationAnalysisReportInfo
      • PostTranslationAnalysisResultInfo
      • PostTranslationAnalysisTaskResult
      • PostTranslationReportCounts
      • PostTranslationResultForLang
      • PreparePackageResultInfo
      • PretranslateCopySourceToTargetBehavior
      • PretranslateCopySourceToTargetConditions
      • PretranslateExpectedFinalTranslationState
      • PretranslateLookupBehavior
      • PretranslateOptions
      • PreTranslateProblem
      • PretranslateStateToConfirmAndLock
      • PreTranslateTaskResult
      • PreviewCreation
      • ProjectLaunchedHistoryItemInfo
      • QAReport
      • QAReportForDocument
      • QAReportTypes
      • ReconsolidateDocumentFault
      • ReimportDocumentOptions
      • RenameProjectFault
      • ResultInfo
      • ResultStatus
      • RtfBilingualExportOptions
      • RunQAGetReportOptions
      • RunQATaskResult
      • ServerProjectAddLanguageInfo
      • ServerProjectCommunicationSettings
      • ServerProjectConfidentialitySettings
      • ServerProjectCorporaAssignments
      • ServerProjectCreateInfo
      • ServerProjectDesktopDocsCreateInfo
      • ServerProjectInfo
      • ServerProjectListFilter
      • ServerProjectNotificationSettings
      • ServerProjectResourceAssignment
      • ServerProjectResourceAssignmentDetails
      • ServerProjectResourceAssignmentForResourceType
      • ServerProjectResourcesInPackages
      • ServerProjectRoles
      • ServerProjectStatus
      • ServerProjectTBAssignments
      • ServerProjectTBsForTargetLang
      • ServerProjectTMAssignmentDetails
      • ServerProjectTMAssignmentsForTargetLang
      • ServerProjectTranslationDocBasicInfo
      • ServerProjectTranslationDocInfo
      • ServerProjectTranslationDocInfo2
      • ServerProjectTranslationDocSliceInfo
      • ServerProjectTranslationDocumentsDifferentLanguageTranslations
      • ServerProjectTranslationDocumentsFromSameSourceFile
      • ServerProjectTranslationDocumentUserAssignments
      • ServerProjectTranslationDocumentWorkflowStatusChange
      • ServerProjectUpdateInfo
      • ServerProjectUserInfo
      • ServerProjectUserInfoHeader
      • SetDocumentWorkflowStatusFault
      • SetTranslationDocumentAssignmentsOptions
      • SliceDocumentFault
      • SliceDocumentRequest
      • SlicingMeasurementUnit
      • StatisticsAlgorithm
      • StatisticsOptions
      • StatisticsResultForLang
      • StatisticsResultFormat
      • StatisticsResultInfo
      • StatisticsTaskResult
      • SubvendorAssignDeadlineChangeHistoryItemInfo
      • SubvendorAssignHistoryItemInfo
      • TemplateBasedProjectCreateInfo
      • TemplateBasedProjectCreationFault
      • TemplateBasedProjectCreationInvalidMetaFault
      • TemplateBasedProjectCreationResultInfo
      • TranslationDocExportResultInfo
      • TranslationDocImportResultInfo
      • TranslationDocumentAssigneeInfo
      • TranslationDocumentAssignmentFault
      • TranslationDocumentAssignmentInfo
      • TranslationDocumentAssignmentResultInfo
      • TranslationDocumentAssignments
      • TranslationDocumentAssignmentType
      • TranslationDocumentDetailedAssignmentInfo
      • TranslationDocumentDetailedAssignments
      • TranslationDocumentDetailedFirstAcceptAssignmentInfo
      • TranslationDocumentDetailedGroupSourcingAssignmentInfo
      • TranslationDocumentDetailedRoleAssignmentInfo
      • TranslationDocumentDetailedSingleUserAssignmentInfo
      • TranslationDocumentDetailedSubvendorAssignmentInfo
      • TranslationDocumentFirstAcceptAssignmentInfo
      • TranslationDocumentFirstAcceptUserInfo
      • TranslationDocumentGroupSourcingAssignmentInfo
      • TranslationDocumentGroupSourcingUserInfo
      • TranslationDocumentNoUserAssignmentInfo
      • TranslationDocumentRoleAssignmentInfo
      • TranslationDocumentRoleAssignmentResultInfo
      • TranslationDocumentSingleUserAssignmentInfo
      • TranslationDocumentSubvendorAssignmentInfo
      • TranslationDocumentUserRoleAssignment
      • TranslationDocumentUserRoleAssignmentDetails
      • TwoColumnRtfBilingualExportOptions
      • UnexpectedFault
      • UpdateWithTableRtfOptions
      • UserInfoHeader
      • WorkflowStatus
      • WorkflowStatusChangeHistoryItemInfo
      • WorkingTMsDeletedHistoryItemInfo
      • WrapUpProjectFault
      • XliffBilingualExportOptions
      • XTranslateDocInfo
      • XTranslateDocumentResult
      • XTranslateOptions
      • XTranslateResultInfo
      • XTranslateScenario
      • XTranslateTaskResult
  • Security API
    • Overview
    • Users, groups, permissions
    • Session management
    • ISecurityService
    • API
      • GenericFault
      • GroupInfo
      • ISecurityService
      • ObjectPermission
      • UnexpectedFault
      • UserInfo
      • UserPackageWorkflowType
  • File upload/download API
    • Overview
    • IFileManagerService
    • API
      • GenericFault
      • IFileManagerService
      • UnexpectedFault
  • License (ELM) API
    • Overview
    • IELMService
    • API
      • ELMAssignment
      • ELMAssignmentType
      • ELMFault
      • ELMPermission
      • ELMPoolInfo
      • ELMProduct
      • ELMProjectPermission
      • GenericFault
      • IELMService
      • UnexpectedFault
  • Tasks API
    • Overview
    • ITasksService
    • API
      • GenericFault
      • ITasksService
      • TaskDoesNotExistFault
      • TaskInfo
      • TaskNotFinishedFault
      • TaskResult
      • TaskStatus
      • UnexpectedFault
  • Changelog

Interface ISecurityService

Provides operations for:

  • User management
  • Group management
  • Permission management.
Syntax
public interface ISecurityService

Methods

AddSubvendorManagerToGroup(Guid, Guid)

Add the user to the subvendor group as subvendor manager. Throws a fault if the specified user is member in any other groups, or if the user is already in the specified group, or if the specified group is not subvendor group.

Declaration
void AddSubvendorManagerToGroup(Guid userGuid, Guid groupGuid)
Parameters
Type Name Description
Guid userGuid

The GUID of the user.

Guid groupGuid

The GUID of the subvendor group.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

CreateGroup(GroupInfo)

Creates a new group.

Declaration
Guid CreateGroup(GroupInfo groupInfo)
Parameters
Type Name Description
GroupInfo groupInfo

The parameters of the group to be created. The Guid member of the info parameter is ignored.

Returns
Type Description
Guid

The Guid of the newly created group.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

CreateUser(UserInfo)

Creates a new user.

Declaration
Guid CreateUser(UserInfo userInfo)
Parameters
Type Name Description
UserInfo userInfo

The parameters of the user to be created. The Guid member of the info parameter is ignored.

Returns
Type Description
Guid

The Guid of the newly created user.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

DeleteGroup(Guid)

Deletes a specific group. The group is not deleted internally but is set to inactive so that it is no longer listed.

Declaration
void DeleteGroup(Guid groupGuid)
Parameters
Type Name Description
Guid groupGuid

The GUID of the group to be deleted.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

DeleteUser(Guid)

Deletes a specific user. The user is not deleted internally but is set to inactive so that it is no longer listed.

Declaration
void DeleteUser(Guid userGuid)
Parameters
Type Name Description
Guid userGuid

The GUID of the user to be deleted.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

GetGroup(Guid)

Returns information about a group.

Declaration
GroupInfo GetGroup(Guid groupGuid)
Parameters
Type Name Description
Guid groupGuid

The GUID od the group.

Returns
Type Description
GroupInfo

Information about the specific group.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

GetUser(Guid)

Returns information about the user.

Declaration
UserInfo GetUser(Guid userGuid)
Parameters
Type Name Description
Guid userGuid

The guid of the user.

Returns
Type Description
UserInfo

Information about the specific user.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

ListGroups()

Returns the list of memoQ Server groups.

Declaration
GroupInfo[] ListGroups()
Returns
Type Description
GroupInfo[]

The list of groups.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

ListGroupsOfUser(Guid)

Returns the groups the user of member of.

Declaration
GroupInfo[] ListGroupsOfUser(Guid userGuid)
Parameters
Type Name Description
Guid userGuid

The GUID of the user.

Returns
Type Description
GroupInfo[]

A list of GroupInfo objects, each representing a group the user is member of.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

ListObjectPermissions(Guid)

Returns the currently assigned (global) permissions on an object(TM/TB/Corpus/light resource).

Declaration
ObjectPermission[] ListObjectPermissions(Guid objectGuid)
Parameters
Type Name Description
Guid objectGuid

The object (TM/TB/Corpus/light resource) for which the permissions are to be returned.

Returns
Type Description
ObjectPermission[]

The list of permissions for the object.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

ListSubvendorGroups()

Returns the list of memoQ Server subvendor groups.

Declaration
GroupInfo[] ListSubvendorGroups()
Returns
Type Description
GroupInfo[]

The list of groups.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

ListSubvendorManagers()

Returns the list of memoQ Server subvendor managers.

Declaration
UserInfo[] ListSubvendorManagers()
Returns
Type Description
UserInfo[]

The list of users.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

ListUsers()

Returns the list of memoQ Server users.

Declaration
UserInfo[] ListUsers()
Returns
Type Description
UserInfo[]

The list of users.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

ListUsersOfGroup(Guid)

Returns the users of the group.

Declaration
UserInfo[] ListUsersOfGroup(Guid groupGuid)
Parameters
Type Name Description
Guid groupGuid
Returns
Type Description
UserInfo[]

A list of UserInfo objects, each representing a user that is member of the group.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

Login(String, String)

!!! DEPRECATED !!! Logs in a memoQ user and creates a session in the memoQ server. The session is identified by the string returned by this function. The session is used to authorize the user and check permissions for certain functions. The session identifier is expected as a parameter in the functions requring a valid session, hence the return value should be stored by the caller. The session has a 2 hour expiry window. A user can have multiple parallel sessions.

Declaration
string Login(string userName, string passwordHash)
Parameters
Type Name Description
String userName

The name of the user.

String passwordHash

The hash of the users password.

Returns
Type Description
String

A session identifier which will be required by functions using the user session. Null is returned if login fails.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

Logout(String)

!!! DEPRECATED !!! Terminates a user session. After this function is called the session identifier will no longer be valid.

Declaration
void Logout(string sessionId)
Parameters
Type Name Description
String sessionId

The idenfier of the session to terminate.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

RemoveSubvendorManagerFromGroup(Guid, Guid)

Removes the subvendor manager from the subvendor group. Throws a fault if the user is not subvendor manager, or the specified group is not subvendor group, or the specified user is not part of the specified group.

Declaration
void RemoveSubvendorManagerFromGroup(Guid userGuid, Guid groupGuid)
Parameters
Type Name Description
Guid userGuid

The GUID of the user.

Guid groupGuid

The GUID of the subvendor group.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

SetGroupsOfUser(Guid, Guid[])

Sets the groups the user is to be member of.

Declaration
void SetGroupsOfUser(Guid userGuid, Guid[] groupGuids)
Parameters
Type Name Description
Guid userGuid

The GUID of the user.

Guid[] groupGuids

A list of GUIDs each representing a group the user is to be added to. Existing group assignments are deleted. Can not be null.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

SetObjectPermissions(Guid, ObjectPermission[])

Sets the new (global) permissions on an object. Existing (global) permissions are deleted.

Declaration
void SetObjectPermissions(Guid objectGuid, ObjectPermission[] permissions)
Parameters
Type Name Description
Guid objectGuid

The object (TM/TB/Corpus/light resource) for which the permissions are to be set.

ObjectPermission[] permissions

The new permissions to be assigned.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

SetUsersOfGroup(Guid, Guid[])

Sets the user members of a group.

Declaration
void SetUsersOfGroup(Guid groupGuid, Guid[] userGuids)
Parameters
Type Name Description
Guid groupGuid

The GUID of the group.

Guid[] userGuids
Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

UpdateGroup(GroupInfo)

Updates an existing group.

Declaration
void UpdateGroup(GroupInfo groupInfo)
Parameters
Type Name Description
GroupInfo groupInfo

A GroupInfo object holding information about the group to be updated. Can not be null.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

UpdateUser(UserInfo)

Updates an existing user.

Declaration
void UpdateUser(UserInfo userInfo)
Parameters
Type Name Description
UserInfo userInfo

A UserInfo object holding information about the user to be updated. Can not be null.

Exceptions
Type Condition
UnexpectedFault

An unexpected error occured; equivalent of an 501 'Internal server error' http result.

GenericFault

The details within the fault identify the specific error. Thrown for expected business error that have no specific failts.

Back to top memoQ Server API documentation