Hello There,i just want to ask if how will i get the user and his permission..

ex:
i want to know if the login user of the pc is a member of administrator.

that all..thank you..