thanks this works good but it checks role of user that opens my page
but i need to check role of the user which userid i receive as a parameter in url
i tried this code
{% (GetUserInfo(ToInt( QueryString["UserId"], 0 )).IsInRole("Blogger")?"1":"2") |(identity)GlobalAdministrator%}
but it doesn't work