Click or drag to resize
TranslationServiceHelperIsAuthorizedToTranslateDocument Method
Checks whether the user is authorized to translate document.

Namespace: CMS.TranslationServices
Assembly: CMS.TranslationServices (in CMS.TranslationServices.dll) Version: 12.0.0
Syntax
C#
public static bool IsAuthorizedToTranslateDocument(
	TreeNode node,
	CurrentUserInfo user,
	HashSet<string> targetLanguages = null
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Document node
user
Type: CMS.MembershipCurrentUserInfo
User to check
targetLanguages (Optional)
Type: System.Collections.GenericHashSetString

Return Value

Type: Boolean
See Also