Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to assign Authorization object ID value at runtime

muzammo
Explorer
0 Likes
1,015

Hello experts,

I have an authorization object with two fields :

Field1 , field2

My code below

Authority-check object 'Object'

ID 'FIELD1' FIELD DYNAMIC

ID 'FIELD2' FIELD '05' .

How can I pass the field1 value at runtime instead of hard coding it based on the user roles.

Hello experts,

I have an authorization object with two fields :

Field1 , field2

My code below

Authority-check object 'Object'

ID 'FIELD1' FIELD DYNAMIC

ID 'FIELD2' FIELD '05' .

How can I pass the field1 value at runtime instead of hard coding it based on the user roles.

2 REPLIES 2
Read only

RaymondGiuseppi
Active Contributor
755

Use a variable after FIELD an not a constant?

(I'm afraid not to understand the meaning your question)

Read only

0 Likes
755

I just meant if we can pass the value to that field at run time based on user who is executing the code