C# Класс vlko.core.Roots.User

Наследование: IIdentity
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
IsAdmin ( ) : bool

Determines whether this instance is admin.

IsInRole ( string role ) : bool

Determines whether [is user in role] [the specified role].

Описание методов

IsAdmin() публичный Метод

Determines whether this instance is admin.
public IsAdmin ( ) : bool
Результат bool

IsInRole() публичный Метод

Determines whether [is user in role] [the specified role].
public IsInRole ( string role ) : bool
role string The role.
Результат bool