C# Class DotNetNuke.Modules.UserDefinedTable.Components.ModuleSecurity

Afficher le fichier Open project: DNNCommunity/DNN.FormAndList Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
BestUserName ( string userName, int portalId ) : string
HasAddPermissonByQuota ( DataTable fieldsTable, DataTable dataTable, int userRecordQuota, string username ) : bool
IsAdministrator ( ) : bool
IsAllowedToAddRow ( ) : bool
IsAllowedToAdministrateModule ( ) : bool
IsAllowedToDeleteRow ( bool isUsersOwnRow = true ) : bool
IsAllowedToEditAllColumns ( ) : bool
IsAllowedToEditRow ( bool isUsersOwnRow = true ) : bool
IsAllowedToSeeAllUserDefinedColumns ( ) : bool
IsAllowedToViewList ( ) : bool
ModuleSecurity ( DotNetNuke.UI.Modules.ModuleInstanceContext context ) : System
ModuleSecurity ( int moduleId, int tabId ) : System
ModuleSecurity ( int moduleId, int tabId, Components settings ) : System
RoleNames ( DotNetNuke.Entities.Users.UserInfo user ) : string
UserId ( string username, int portalId ) : int

Method Details

BestUserName() public static méthode

public static BestUserName ( string userName, int portalId ) : string
userName string
portalId int
Résultat string

HasAddPermissonByQuota() public static méthode

public static HasAddPermissonByQuota ( DataTable fieldsTable, DataTable dataTable, int userRecordQuota, string username ) : bool
fieldsTable System.Data.DataTable
dataTable System.Data.DataTable
userRecordQuota int
username string
Résultat bool

IsAdministrator() public static méthode

public static IsAdministrator ( ) : bool
Résultat bool

IsAllowedToAddRow() public méthode

public IsAllowedToAddRow ( ) : bool
Résultat bool

IsAllowedToAdministrateModule() public méthode

public IsAllowedToAdministrateModule ( ) : bool
Résultat bool

IsAllowedToDeleteRow() public méthode

public IsAllowedToDeleteRow ( bool isUsersOwnRow = true ) : bool
isUsersOwnRow bool
Résultat bool

IsAllowedToEditAllColumns() public méthode

public IsAllowedToEditAllColumns ( ) : bool
Résultat bool

IsAllowedToEditRow() public méthode

public IsAllowedToEditRow ( bool isUsersOwnRow = true ) : bool
isUsersOwnRow bool
Résultat bool

IsAllowedToSeeAllUserDefinedColumns() public méthode

public IsAllowedToSeeAllUserDefinedColumns ( ) : bool
Résultat bool

IsAllowedToViewList() public méthode

public IsAllowedToViewList ( ) : bool
Résultat bool

ModuleSecurity() public méthode

public ModuleSecurity ( DotNetNuke.UI.Modules.ModuleInstanceContext context ) : System
context DotNetNuke.UI.Modules.ModuleInstanceContext
Résultat System

ModuleSecurity() public méthode

public ModuleSecurity ( int moduleId, int tabId ) : System
moduleId int
tabId int
Résultat System

ModuleSecurity() public méthode

public ModuleSecurity ( int moduleId, int tabId, Components settings ) : System
moduleId int
tabId int
settings Components
Résultat System

RoleNames() public static méthode

public static RoleNames ( DotNetNuke.Entities.Users.UserInfo user ) : string
user DotNetNuke.Entities.Users.UserInfo
Résultat string

UserId() public static méthode

public static UserId ( string username, int portalId ) : int
username string
portalId int
Résultat int