Пакет | com.adobe.livecycle.ria.security.api |
Интерфейс | public interface IUser |
Средство реализации | User |
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
IUser
interface provides read-access to a user's attributes,
and offers basic support for authorization checking.
Свойство | Определено | ||
---|---|---|---|
anonymous : Boolean [только для чтения]
A flag that indicates whether the current user is anonymous. | IUser | ||
attributes : Object [только для чтения]
The other attributes of the user depending on available details on the server-side. | IUser | ||
displayName : String [только для чтения]
The name that can be used for display purposes. | IUser | ||
email : String [только для чтения]
The email address of the user. | IUser | ||
firstName : String [только для чтения]
The first name of the user. | IUser | ||
groups : Array [только для чтения]
The groups to which a user belongs. | IUser | ||
lastName : String [только для чтения]
The last name of the user. | IUser | ||
session : ISession [только для чтения]
The session associated with the current user. | IUser | ||
userid : String [только для чтения]
The user's user identifier (ID). | IUser |
Метод | Определено | ||
---|---|---|---|
Determines whether the current user is member of given group. | IUser |
anonymous | свойство |
anonymous:Boolean
[только для чтения] Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Версии среды выполнения: | 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.
Реализация
public function get anonymous():Boolean
attributes | свойство |
attributes:Object
[только для чтения] Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
The other attributes of the user depending on available details on the server-side.
Реализация
public function get attributes():Object
displayName | свойство |
displayName:String
[только для чтения] Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
The name that can be used for display purposes.
Реализация
public function get displayName():String
свойство |
firstName | свойство |
groups | свойство |
groups:Array
[только для чтения] Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Версии среды выполнения: | 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.
Реализация
public function get groups():Array
lastName | свойство |
session | свойство |
userid | свойство |
isMemberOf | () | метод |
public function isMemberOf(groupName:String):Boolean
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
Determines whether the current user is member of given group.
Параметры
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, 11:34 AM Z