套件 | 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 | 屬性 |
displayName | 屬性 |
屬性 |
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, 03:47 PM Z