Package | com.adobe.livecycle.ria.security.api |
Interface | public interface IUser |
Implémenteurs | User |
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
IUser
interface provides read-access to a user's attributes,
and offers basic support for authorization checking.
Propriété | Défini par | ||
---|---|---|---|
anonymous : Boolean [lecture seule]
A flag that indicates whether the current user is anonymous. | IUser | ||
attributes : Object [lecture seule]
The other attributes of the user depending on available details on the server-side. | IUser | ||
displayName : String [lecture seule]
The name that can be used for display purposes. | IUser | ||
email : String [lecture seule]
The email address of the user. | IUser | ||
firstName : String [lecture seule]
The first name of the user. | IUser | ||
groups : Array [lecture seule]
The groups to which a user belongs. | IUser | ||
lastName : String [lecture seule]
The last name of the user. | IUser | ||
session : ISession [lecture seule]
The session associated with the current user. | IUser | ||
userid : String [lecture seule]
The user's user identifier (ID). | IUser |
Méthode | Défini par | ||
---|---|---|---|
Determines whether the current user is member of given group. | IUser |
anonymous | propriété |
anonymous:Boolean
[lecture seule] Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | 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.
Implémentation
public function get anonymous():Boolean
attributes | propriété |
attributes:Object
[lecture seule] Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
The other attributes of the user depending on available details on the server-side.
Implémentation
public function get attributes():Object
displayName | propriété |
displayName:String
[lecture seule] Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
The name that can be used for display purposes.
Implémentation
public function get displayName():String
propriété |
firstName | propriété |
groups | propriété |
groups:Array
[lecture seule] Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | 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.
Implémentation
public function get groups():Array
lastName | propriété |
session | propriété |
session:ISession
[lecture seule] Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
The session associated with the current user.
Implémentation
public function get session():ISession
userid | propriété |
isMemberOf | () | méthode |
public function isMemberOf(groupName:String):Boolean
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
Determines whether the current user is member of given group.
Paramètres
groupName: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, 09:30 AM Z