Pacote | com.adobe.livecycle.ria.security.api |
Interface | public interface IUser |
Implementadores | User |
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versões de runtime: | AIR 2.6, Flash Player 10.2 |
IUser
interface provides read-access to a user's attributes,
and offers basic support for authorization checking.
Propriedade | Definido por | ||
---|---|---|---|
anonymous : Boolean [somente leitura]
A flag that indicates whether the current user is anonymous. | IUser | ||
attributes : Object [somente leitura]
The other attributes of the user depending on available details on the server-side. | IUser | ||
displayName : String [somente leitura]
The name that can be used for display purposes. | IUser | ||
email : String [somente leitura]
The email address of the user. | IUser | ||
firstName : String [somente leitura]
The first name of the user. | IUser | ||
groups : Array [somente leitura]
The groups to which a user belongs. | IUser | ||
lastName : String [somente leitura]
The last name of the user. | IUser | ||
session : ISession [somente leitura]
The session associated with the current user. | IUser | ||
userid : String [somente leitura]
The user's user identifier (ID). | IUser |
Método | Definido por | ||
---|---|---|---|
Determines whether the current user is member of given group. | IUser |
anonymous | propriedade |
anonymous:Boolean
[somente leitura] Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versões de runtime: | 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.
Implementação
public function get anonymous():Boolean
attributes | propriedade |
attributes:Object
[somente leitura] Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versões de runtime: | AIR 2.6, Flash Player 10.2 |
The other attributes of the user depending on available details on the server-side.
Implementação
public function get attributes():Object
displayName | propriedade |
displayName:String
[somente leitura] Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versões de runtime: | AIR 2.6, Flash Player 10.2 |
The name that can be used for display purposes.
Implementação
public function get displayName():String
propriedade |
firstName | propriedade |
groups | propriedade |
groups:Array
[somente leitura] Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versões de runtime: | 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.
Implementação
public function get groups():Array
lastName | propriedade |
session | propriedade |
session:ISession
[somente leitura] Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versões de runtime: | AIR 2.6, Flash Player 10.2 |
The session associated with the current user.
Implementação
public function get session():ISession
userid | propriedade |
isMemberOf | () | método |
public function isMemberOf(groupName:String):Boolean
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Versões de runtime: | 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.
|
Wed Jun 13 2018, 11:10 AM Z