asp.net.ph

IPrincipal Interface

System.Security.Principal Namespace


Defines the basic functionality of a principal object.

IPrincipal Interface Members

Collapse   Properties

Visibility Name Value Type Accessibility
public Identity IIdentity [ Get ]

Collapse   Methods

Visibility Name Parameters Return Type
public IsInRole ( String role ) Boolean

Remarks

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

All principal objects are required to implement the IPrincipal interface.

See Also

IIdentity Interface Skip Navigation Links


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note