I want the User Id to be displayed in a visualforce page
public class getUser{
public void classGetID()
{
String s=UserInfo.getUserId();
}
}
Following is my visualforce page..
<apex:page Controller="getUser" >
<apex:outputText value="!classGetID"></apex:outputText>
</apex:page>
Please guide me how do get the user ID.