Mono Class Library: System.Security.Principal.GenericPrincipal Overview | Members

System.Security.Principal.GenericPrincipal Constructor

Create a generic principal instance with the specified identity and roles.

public GenericPrincipal (IIdentity identity, string[] roles)

Parameters

identity
The identity that this principal represents.
roles
An array of strings containing every roles associated with the identity.

Remarks

The roles array can be null if the identity isn't part of any role.

Requirements

Namespace: System.Security.Principal
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0