Application Development 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: 

Access control

Former Member
0 Kudos

Hi all,

Is it possible to make a class read only??

The requirement is that we have created a class with a

method. The method has an Include file.The user must be able to modify the Include file but he should not be able to modify the class.That is we want to make the class alone read-only.

How can dis be achieved??

Pls help.

Thanks in advance.

Hema

2 REPLIES 2

former_member181962
Active Contributor
0 Kudos

HI Hema,

I think you can do that only at method level.

Double click on the method.

In the editor, Goto->Method Definition.

IN the attributes secvtion you can set the editor lock.

Regards,

Ravi

Former Member
0 Kudos

Hema,

I am not sure if you are talking at a INCLUDE program level or a class level.

1. If at a class level, if you don't want anyone to inherit this class, mark this class as final.

2. For the INCLUDE, if the user id has sufficient authorizations, there is nothing much we can do about it.

Regards,

Ravi

Note : Please mark the helpful answers