Paquete | com.adobe.livecycle.ria.security.api |
Interfaz | public interface IUser |
Implementadores | User |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versiones de motor de ejecución: | AIR 2.6, Flash Player 10.2 |
IUser
interface provides read-access to a user's attributes,
and offers basic support for authorization checking.
Propiedad | Definido por | ||
---|---|---|---|
anonymous : Boolean [solo lectura]
A flag that indicates whether the current user is anonymous. | IUser | ||
attributes : Object [solo lectura]
The other attributes of the user depending on available details on the server-side. | IUser | ||
displayName : String [solo lectura]
The name that can be used for display purposes. | IUser | ||
email : String [solo lectura]
The email address of the user. | IUser | ||
firstName : String [solo lectura]
The first name of the user. | IUser | ||
groups : Array [solo lectura]
The groups to which a user belongs. | IUser | ||
lastName : String [solo lectura]
The last name of the user. | IUser | ||
session : ISession [solo lectura]
The session associated with the current user. | IUser | ||
userid : String [solo lectura]
The user's user identifier (ID). | IUser |
Método | Definido por | ||
---|---|---|---|
Determines whether the current user is member of given group. | IUser |
anonymous | propiedad |
anonymous:Boolean
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versiones de motor de ejecución: | 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.
Implementación
public function get anonymous():Boolean
attributes | propiedad |
attributes:Object
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versiones de motor de ejecución: | AIR 2.6, Flash Player 10.2 |
The other attributes of the user depending on available details on the server-side.
Implementación
public function get attributes():Object
displayName | propiedad |
displayName:String
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versiones de motor de ejecución: | AIR 2.6, Flash Player 10.2 |
The name that can be used for display purposes.
Implementación
public function get displayName():String
propiedad |
firstName | propiedad |
groups | propiedad |
groups:Array
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versiones de motor de ejecución: | 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.
Implementación
public function get groups():Array
lastName | propiedad |
session | propiedad |
session:ISession
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versiones de motor de ejecución: | AIR 2.6, Flash Player 10.2 |
The session associated with the current user.
Implementación
public function get session():ISession
userid | propiedad |
isMemberOf | () | método |
public function isMemberOf(groupName:String):Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versiones de motor de ejecución: | AIR 2.6, Flash Player 10.2 |
Determines whether the current user is member of given group.
Parámetros
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, 02:12 PM Z