Permission action's API get ID
688
Views
2
Comments
Implemented
Backend
OutSystems 5.0
The permission areas actions should have an action exposed to return the id of the PA. It is useful to know what parameter to pass to the USER_MASTER_GetByPermissionArea for instance, without having to keep it stored in a site property  or so. It makes more sense.
ovatsus
You already have that since 5.0. Just use Permissions.<PermissionAreaName> and it will give you the id of that permission area

(In 6.0 use Roles.<RoleName> instead)
That's great!

I tried to put a dot in front of the Permission Area and since it didn't auto-complete to anything, I tought I couldn't do it.

Thanks!