Metodo AssertAssertUserCan(DedStandardPerm, Boolean)
|
Controlla che l'utente abbia il permesso passato.
Namespace: DedNet.CoreAssembly: DedNet (in DedNet.dll) Versione: 25.3.0.0 (25.3.0.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 DedStandardPerm
- Permesso da controllare.
- checkOnlyGeneralPerm Boolean (Optional)
-
Vedi anche