Guida di riferimento di ActionScript® 3.0 per la piattaforma Adobe® Flash®
Home  |  Nascondi elenco pacchetti e classi |  Pacchetti  |  Classi  |  Novità  |  Indice  |  Appendici  |  Perché in inglese?
Filtri: Recupero dati dal server...
Recupero dati dal server...
com.adobe.livecycle.ria.security.service 

User  - AS3 ADEP - Sicurezza

Pacchettocom.adobe.livecycle.ria.security.service
Classepublic class User
EreditarietàUser Inheritance Object
Implementa IUser

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Sicurezza 10
Versioni runtime: AIR 2.6, Flash Player 10.2

The User class provides read-access to the user's attributes, and offers basic support for authorization checking.



Proprietà pubbliche
 ProprietàDefinito da
  anonymous : Boolean
A flag that indicates whether the current user is anonymous.
User
  attributes : Object
[sola lettura] The other attributes of the user depending on available details on the server-side.
User
 Inheritedconstructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto.
Object
  displayName : String
[sola lettura] The name that can be used for display purposes.
User
  email : String
[sola lettura] The email address of the user.
User
  firstName : String
[sola lettura] The first name of the user.
User
  groups : Array
[sola lettura] The groups to which a user belongs.
User
  lastName : String
[sola lettura] The last name of the user.
User
  session : ISession
[sola lettura] The session associated with the current user.
User
  userid : String
[sola lettura] The user's user identifier (ID).
User
Metodi pubblici
 MetodoDefinito da
  
User(session:ISession, attributes:Object)
Constructor.
User
 Inherited
Indica se per un oggetto è definita una proprietà specifica.
Object
  
Determines whether the current user is member of given group.
User
 Inherited
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro.
Object
 Inherited
Indica se la proprietà specificata esiste ed è enumerabile.
Object
 Inherited
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche.
Object
 Inherited
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate.
Object
 Inherited
Restituisce la rappresentazione in formato stringa dell'oggetto specificato.
Object
 Inherited
Restituisce il valore di base dell'oggetto specificato.
Object
Descrizione delle proprietà

anonymous

proprietà
anonymous:Boolean

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Sicurezza 10
Versioni 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.



Implementazione
    public function get anonymous():Boolean
    public function set anonymous(value:Boolean):void

attributes

proprietà 
attributes:Object  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Sicurezza 10
Versioni runtime: AIR 2.6, Flash Player 10.2

The other attributes of the user depending on available details on the server-side.



Implementazione
    public function get attributes():Object

displayName

proprietà 
displayName:String  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Sicurezza 10
Versioni runtime: AIR 2.6, Flash Player 10.2

The name that can be used for display purposes.



Implementazione
    public function get displayName():String

email

proprietà 
email:String  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Sicurezza 10
Versioni runtime: AIR 2.6, Flash Player 10.2

The email address of the user.



Implementazione
    public function get email():String

firstName

proprietà 
firstName:String  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Sicurezza 10
Versioni runtime: AIR 2.6, Flash Player 10.2

The first name of the user.



Implementazione
    public function get firstName():String

groups

proprietà 
groups:Array  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Sicurezza 10
Versioni 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.



Implementazione
    public function get groups():Array

lastName

proprietà 
lastName:String  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Sicurezza 10
Versioni runtime: AIR 2.6, Flash Player 10.2

The last name of the user.



Implementazione
    public function get lastName():String

session

proprietà 
session:ISession  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Sicurezza 10
Versioni runtime: AIR 2.6, Flash Player 10.2

The session associated with the current user.



Implementazione
    public function get session():ISession

userid

proprietà 
userid:String  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Sicurezza 10
Versioni runtime: AIR 2.6, Flash Player 10.2

The user's user identifier (ID).



Implementazione
    public function get userid():String
Descrizione della funzione di costruzione

User

()Funzione di costruzione
public function User(session:ISession, attributes:Object)

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Sicurezza 10
Versioni runtime: AIR 2.6, Flash Player 10.2

Constructor.

Parametri
session:ISession — Specifies the session associated with this user instance.
 
attributes:Object — Specifies the attributes of the user.
Descrizione dei metodi

isMemberOf

()metodo
public function isMemberOf(name:String):Boolean

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Sicurezza 10
Versioni runtime: AIR 2.6, Flash Player 10.2

Determines whether the current user is member of given group.

Parametri

name:String — Specifies the name of the group for which check is performed.

Restituisce
Boolean — A boolean value. A value of true indicates that the user is member of passed group.




[ X ]Perché in inglese?
Il contenuto della Guida di riferimento di ActionScript 3.0 appare in inglese

Non tutte le parti della Guida di riferimento di ActionScript 3.0 sono tradotte in tutte le lingue. Quando un elemento del linguaggio non è tradotto, viene riportato in inglese. Ad esempio, la classe ga.controls.HelpBox non è tradotta in nessuna lingua. Pertanto, nella versione italiana della guida di riferimento, la descrizione della classe ga.controls.HelpBox è riportata in inglese.