Pakket | com.adobe.livecycle.ria.security.service |
Klasse | public class User |
Overerving | User Object |
Implementatie | IUser |
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Runtimeversies: | AIR 2.6, Flash Player 10.2 |
User
class provides read-access to the user's attributes, and offers basic support for authorization checking.
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
anonymous : Boolean
A flag that indicates whether the current user is anonymous. | User | ||
attributes : Object [alleen-lezen]
The other attributes of the user depending on available details on the server-side. | User | ||
constructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | Object | ||
displayName : String [alleen-lezen]
The name that can be used for display purposes. | User | ||
email : String [alleen-lezen]
The email address of the user. | User | ||
firstName : String [alleen-lezen]
The first name of the user. | User | ||
groups : Array [alleen-lezen]
The groups to which a user belongs. | User | ||
lastName : String [alleen-lezen]
The last name of the user. | User | ||
session : ISession [alleen-lezen]
The session associated with the current user. | User | ||
userid : String [alleen-lezen]
The user's user identifier (ID). | User |
Methode | Gedefinieerd door | ||
---|---|---|---|
Constructor. | User | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Determines whether the current user is member of given group. | User | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
anonymous | eigenschap |
anonymous:Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Runtimeversies: | AIR 2.6, Flash Player 10.2 |
A flag that indicates whether the current user is anonymous.
It can be used to control display at time of startup when user identity is not determined.
Implementatie
public function get anonymous():Boolean
public function set anonymous(value:Boolean):void
attributes | eigenschap |
attributes:Object
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Runtimeversies: | AIR 2.6, Flash Player 10.2 |
The other attributes of the user depending on available details on the server-side.
Implementatie
public function get attributes():Object
displayName | eigenschap |
eigenschap |
firstName | eigenschap |
groups | eigenschap |
groups:Array
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Runtimeversies: | AIR 2.6, Flash Player 10.2 |
The groups to which a user belongs.
The returned Array
object contains Group names. By default all the groups
to which the user belongs are returned. However in some cases the group names might be filtered.
For example if a group has property UIEnabled
set to false then such a group would not
be sent to client.
Implementatie
public function get groups():Array
lastName | eigenschap |
session | eigenschap |
userid | eigenschap |
User | () | Constructor |
public function User(session:ISession, attributes:Object)
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Runtimeversies: | AIR 2.6, Flash Player 10.2 |
Constructor.
Parameterssession:ISession — Specifies the session associated with this user instance.
| |
attributes:Object — Specifies the attributes of the user.
|
isMemberOf | () | methode |
public function isMemberOf(name:String):Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Runtimeversies: | AIR 2.6, Flash Player 10.2 |
Determines whether the current user is member of given group.
Parameters
name:String — Specifies the name of the group for which check is performed.
|
Boolean — A boolean value. A value of true indicates that the user is member of passed group.
|
Wed Jun 13 2018, 11:42 AM Z