TranslationServiceHelperIsAuthorizedToTranslateDocument Method |
Checks whether the user is authorized to translate document.
Namespace: CMS.TranslationServicesAssembly: CMS.TranslationServices (in CMS.TranslationServices.dll) Version: 13.0.131
Syntax 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:
BooleanSee Also