Paket | com.adobe.livecycle.ria.security.service |
Klass | public class User |
Arv | User Object |
Implementerar | IUser |
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
User
class provides read-access to the user's attributes, and offers basic support for authorization checking.
Egenskap | Definieras med | ||
---|---|---|---|
anonymous : Boolean
A flag that indicates whether the current user is anonymous. | User | ||
attributes : Object [skrivskyddad]
The other attributes of the user depending on available details on the server-side. | User | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
displayName : String [skrivskyddad]
The name that can be used for display purposes. | User | ||
email : String [skrivskyddad]
The email address of the user. | User | ||
firstName : String [skrivskyddad]
The first name of the user. | User | ||
groups : Array [skrivskyddad]
The groups to which a user belongs. | User | ||
lastName : String [skrivskyddad]
The last name of the user. | User | ||
session : ISession [skrivskyddad]
The session associated with the current user. | User | ||
userid : String [skrivskyddad]
The user's user identifier (ID). | User |
Metod | Definieras med | ||
---|---|---|---|
Constructor. | User | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Determines whether the current user is member of given group. | User | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object |
anonymous | egenskap |
anonymous:Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Körningsmiljöversioner: | 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.
Implementering
public function get anonymous():Boolean
public function set anonymous(value:Boolean):void
attributes | egenskap |
attributes:Object
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
The other attributes of the user depending on available details on the server-side.
Implementering
public function get attributes():Object
displayName | egenskap |
displayName:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
The name that can be used for display purposes.
Implementering
public function get displayName():String
egenskap |
firstName | egenskap |
groups | egenskap |
groups:Array
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Körningsmiljöversioner: | 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.
Implementering
public function get groups():Array
lastName | egenskap |
session | egenskap |
userid | egenskap |
User | () | Konstruktor |
public function User(session:ISession, attributes:Object)
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
Constructor.
Parametrarsession:ISession — Specifies the session associated with this user instance.
| |
attributes:Object — Specifies the attributes of the user.
|
isMemberOf | () | metod |
public function isMemberOf(name:String):Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Körningsmiljöversioner: | AIR 2.6, Flash Player 10.2 |
Determines whether the current user is member of given group.
Parametrar
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.
|
Tue Jun 12 2018, 01:40 PM Z