mscorlib [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00] 1.0.5000.0 2.0.0.0 4.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Runtime.InteropServices.ComVisible(true)

A principal object represents the security context of the user on whose behalf the code is running, including that user's identity () and any roles to which they belong.

All principal objects are required to implement the interface. For more information about implementations, see the class.

Defines the basic functionality of a principal object.

- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Security.Principal.IIdentity The current identity of the principal. To be added

  Gets the identity of the current principal.

- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Boolean `` To be added

  Determines whether the current principal belongs to the specified role.

  true if the current principal is a member of the specified role; otherwise, false.

  The name of the role for which to check membership.