Yes Sir.... Thanks for your inputs....
It gives values such as STS, CENTRALADMIN, MPS, BLOG, etc.....
But what does these exactly mean?? how can we say if a site is a document workspace or document library or a list??
Moreover I was able to access the WebTemplate property of the current site by using SPContext.Current.Web. But how can I walk through every link / site / sub site in the Sharepoint from the root to find all the sites, lists, libraries and workspaces the current user has permission??