Pakket | com.adobe.livecycle.ria.security.api |
Interface | public interface IUser |
Geïmplementeerd door | User |
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Runtimeversies: | AIR 2.6, Flash Player 10.2 |
IUser
interface provides read-access to a user's attributes,
and offers basic support for authorization checking.
Openbare eigenschappen
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
anonymous : Boolean [alleen-lezen]
A flag that indicates whether the current user is anonymous. | IUser | ||
attributes : Object [alleen-lezen]
The other attributes of the user depending on available details on the server-side. | IUser | ||
displayName : String [alleen-lezen]
The name that can be used for display purposes. | IUser | ||
email : String [alleen-lezen]
The email address of the user. | IUser | ||
firstName : String [alleen-lezen]
The first name of the user. | IUser | ||
groups : Array [alleen-lezen]
The groups to which a user belongs. | IUser | ||
lastName : String [alleen-lezen]
The last name of the user. | IUser | ||
session : ISession [alleen-lezen]
The session associated with the current user. | IUser | ||
userid : String [alleen-lezen]
The user's user identifier (ID). | IUser |
Openbare methoden
Methode | Gedefinieerd door | ||
---|---|---|---|
Determines whether the current user is member of given group. | IUser |
Eigenschapdetails
anonymous | eigenschap |
anonymous:Boolean
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Runtimeversies: | 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.
Implementatie
public function get anonymous():Boolean
attributes | eigenschap |
attributes:Object
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Runtimeversies: | AIR 2.6, Flash Player 10.2 |
The other attributes of the user depending on available details on the server-side.
Implementatie
public function get attributes():Object
displayName | eigenschap |
eigenschap |
firstName | eigenschap |
groups | eigenschap |
groups:Array
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Runtimeversies: | 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.
Implementatie
public function get groups():Array
lastName | eigenschap |
session | eigenschap |
userid | eigenschap |
Methodedetails
isMemberOf | () | methode |
public function isMemberOf(groupName:String):Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Runtimeversies: | AIR 2.6, Flash Player 10.2 |
Determines whether the current user is member of given group.
Parameters
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:42 AM Z