Metodo AssertAssertUserCan (DedStandardPerm, Boolean)
|
Controlla che l'utente abbia il permesso passato.
Namespace:
DedNet.Core
Assembly:
DedNet (in DedNet.dll) Versione: 22.4.2.0 (22.4.2.0)
Sintassi public void AssertUserCan(
DedStandardPerm perm,
bool checkOnlyGeneralPerm = false
)
Public Sub AssertUserCan (
perm As DedStandardPerm,
Optional checkOnlyGeneralPerm As Boolean = false
)
public:
void AssertUserCan(
DedStandardPerm perm,
bool checkOnlyGeneralPerm = false
)
member AssertUserCan :
perm : DedStandardPerm *
?checkOnlyGeneralPerm : bool
(* Defaults:
let _checkOnlyGeneralPerm = defaultArg checkOnlyGeneralPerm false
*)
-> unit
Parametri
- perm
- Tipo: DedNet.CoreDedStandardPerm
Permesso da controllare. - checkOnlyGeneralPerm (Optional)
- Tipo: SystemBoolean
Vedi anche