Skip to Content
author's profile photo Former Member
Former Member

programatically grant access rights in the PAR file

Hi All,

First of all, Can we programmatically grant access rights in the PAR file ?

<b>DETAIL</b>: The issue is, "I want to grant rights to the PAR file programmatically, so as to give access to a limited/specific set of users/group of users. If I am able to do this, then the only thing remains is to deploy it, add it to a page and set it for Portal Content, then I don't have to worry about Users privileges (whether they have privilege for it or not)".

I know how to create a PAR file via Eclipse (using Plugins) and how to deploy it.

Thanks In Advance,

Abhishek Jain.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Oct 05, 2005 at 04:23 PM

    Hi Abhishek,

    You can enforce/limit access to an iView in a number of ways.

    The first and most simple way is to let the portal handle the access. If you have an iView that is intended for only the users of a specific role, you can embed the iView within a page created in the portal content catalog under the intended role. By doing this, only members of the intended role have a navigation path to the page.

    The only problem with handling permissions in this way is that users can still access the iView from outside the role if they know the hotlink URL (e.g. https:// /irj/servlet/prt/portal/prtroot/ . ). If this is what you are trying to avoid, you can have the iView check whether the requesting user is a member of a special group. If the user is not a member of the group, the iView can display an access denied message. The UME API can be used to determine group membership (

    Hope this helps...

    Best Regards,


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.