opening a players profile via derma menu

Hey guys…

Was messing around with some derma stuff and wanted to know how to open a certain players profile.

I couldn’t find anything looking through the player category on the wiki. Can someone point me in the right direction here?

Here is what im working with in just in case. Thanks in advance.


 
	local icon = vgui.Create( "AvatarImage", Panel )
	icon:SetSize( 32, 32 )
	icon:SetPos( 5, 9 )
	icon:SetPlayer( LocalPlayer(), 32 )
	icon.DoClick = function()			
	-- OPEN THE PLAYER PROFILE CODE HERE
	end


Player:ShowProfile

I dont know how I didnt even see that… Thanks none the less