Hm - not quite sure I understand your use case here, but off the cuff, one way you could accomplish this is with security.
- If User A (or User Role A) logs in and has access to Page A, they'll get that page
- If User B (or User Role B) logs in and has access to Page B (and not Page A), they'll get that page
This may not help your scenario, so you may want to expand a bit on your intended design.
Yes it's that, excuse my english.
If a user A or role login, then the portal show him page P.
If a user B login, then portal show him other page Q.
How can I configure that ?
You can't, but there is a workaround. Create two different (though similar) pages and show each one of them to users in a different role using the *-object.xml descriptor of the admin console.