November Happy Hour will be moved to Thursday December 5th.

Get available languages for current user.

Vote:
 

Hi, I got a list of all enabled languages via ILanguageBranchRepository.ListEnabled();
Is there any way for me to filter this list showing only langugages that the current user has access to? Or do I specifically have to check the current user role and then if that role has access to the languages one by one?

#308697
Edited, Sep 19, 2023 10:36
Vote:
 

I don't think language settings are per user, only content language version is per user. 

#308700
Sep 19, 2023 11:43
Sebastian Romedahl - Sep 19, 2023 13:32
You're right, but you can set them per user role right?
Anyway - I found (after an immense time of digging) the QueryEditAccessRights-method for languagebranches and I could filter my list that way. Seems to do the trick!
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.