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. [Edit]

public GenericPrincipal (IIdentity identity, string[] roles)

Parameters

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

Remarks

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

Requirements

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