asp.net.ph

GenericPrincipal Class

System.Security.Principal Namespace


Represents a generic principal.

GenericPrincipal Class Members

Collapse   Constructors

Visibility Constructor Parameters
public GenericPrincipal ( IIdentity identity , String roles )

Collapse   Properties

Visibility Name Value Type Accessibility
public Identity IIdentity [ Get ]

Collapse   Methods

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

Remarks

This class represents the roles of the current user.

See Also

GenericIdentity Class 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