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

Access rights for different language version

Vote:
 

Hi,

As we know this functionality "Access rights can also be set per language version. This means that editors will only be able to edit in languages for which they have permission" is available in EPiServer CMS 6.0.

My query is how to identify in code which editor is having how many language access. Eg- May be they have done some changes in EPiServer personalization so that i will get the collection of languages for current login user.

Please suggest.... :)

Thanks in advance,
Rohit

 

 

#38886
Apr 22, 2010 7:19
Vote:
 

Hi

To get that information you need to look at the ACL property of each LanguageBranch. Something like this:

foreach(LanguageBranch language in LanguageBranch.List())
{
  // Go through the LanguageBranch.ACL and look for the users that has edit access.
}

Regards

Per Gunsarfs
EPiServer development team

#39075
Apr 30, 2010 16:22
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.