How to set a content type field that allows to select user roles for permissions?

2025/08/26 7:48 PM

Hello friends,

I'm trying to add a field to a content type, since this content type is going to be restricted to certain type of user roles.

Note: I tried the data type: Object code names without luck. Maybe I did it wrong, but there is no documentation about this data type at all.

Any recommendation, thanks in advance :)


Environment

  • Xperience by Kentico version: 30.8.0

  • .NET version: 8

  • Private cloud (Azure/AWS/Virtual machine)

Tags:
v30.8.0

Answers

To answer this question, you have to login first.