Method SwitchUnit
- Namespace
- FS.Hosting.Shared.AccessControl
- Assembly
- FS.Hosting.Shared.dll
SwitchUnit(string)
Wechselt die Anmeldung auf die übergebene Geschäftseinheit.
bool SwitchUnit(string unitId)
Parameters
unitId
string
Returns
- bool
true
, wenn erfolgreich, ansonstenfalse
Remarks
Bei Erfolg wird im aktuellen IFSAuthenticationScope ein neuer Token gesetzt.
Bei einem Fehler wird false
geliefert und der IFSAuthenticationScope bleibt unverändert.