Package | Description |
---|---|
com.suncode.pwfl.administration.user |
Pakiet zawiera zbiór elementów umożliwiających zarządzanie użytkownikami i grupami użytkowników.
|
Modifier and Type | Method and Description |
---|---|
static UserContext |
UserContext.activate(String userName)
Activates context of given user so
current() will return context created
for given user. |
static UserContext |
UserContext.activate(UserInfo user)
Activates context of given user so
current() will return context created
for given user. |
static UserContext |
UserContext.current()
Returns current user context.
|
static UserContext |
UserContext.deactivate()
Deactivates current user context
|
Modifier and Type | Method and Description |
---|---|
static void |
UserContext.activate(UserInfo user,
InContext<UserContext> action)
Activates context of given user and invokes provided action in created context.
|
Copyright © 2019 Suncode. All rights reserved.