The members of System.Security.Principal.IPrincipal are listed below.
[read-only]IdentityIIdentity. The identity of the current principal represents.
IsInRole(string) : boolReturn the membership of the current principal in the specified role.
Return the membership of the current principal in the specified role.