CKFinder 3 – ASP.NET Connector Documentation
User Class Reference

Default implementation of IUser. More...

Inheritance diagram for User:
IUser

Public Member Functions

 User (bool isAuthenticated, IEnumerable< string > roles)
 Constructs a new instance of User. More...
 

Properties

bool IsAuthenticated [get]
 Gets whether this user is authenticated and may use the application. More...
 
IReadOnlyCollection< string > Roles [get]
 Gets this user's roles. More...
 
- Properties inherited from IUser
bool IsAuthenticated [get]
 Gets whether this user is authenticated and may use the application. More...
 
IReadOnlyCollection< string > Roles [get]
 Gets this user's roles. More...
 

Detailed Description

Default implementation of IUser.

Constructor & Destructor Documentation

◆ User()

User ( bool  isAuthenticated,
IEnumerable< string >  roles 
)
inline

Constructs a new instance of User.

Parameters
isAuthenticatedWhether this user is authenticated.
rolesA roles enumeration.

Property Documentation

◆ IsAuthenticated

bool IsAuthenticated
get

Gets whether this user is authenticated and may use the application.

◆ Roles

IReadOnlyCollection<string> Roles
get

Gets this user's roles.


The documentation for this class was generated from the following file: