thnkz keesiemeijer, that works fine for me, now i dont need to query post, i just need to add a coupple of custom_fields and do what i want
thnkz lerizzle for your answer, but that solution only show me how to get the user role or query the role capabilities, but what i need is query 2 diferent posts to and show them to a 2 different users.