Interfaccia UserObject
Implementa metodi che è possibile utilizzare per restituire informazioni sull'utente corrente.
Spazio dei nomi: Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly: Microsoft.Office.Interop.InfoPath.SemiTrust (in microsoft.office.interop.infopath.semitrust.dll)
Sintassi
<CLSCompliantAttribute(False)> _
<CoClassAttribute(GetType(UserObjectWrapper))> _
<GuidAttribute("096cd6bc-0786-11d1-95fa-0080c78ee3bb")> _
Public Interface UserObject
Inherits User
Dim instance As UserObject
[CLSCompliantAttribute(false)]
[CoClassAttribute(typeof(UserObjectWrapper))]
[GuidAttribute("096cd6bc-0786-11d1-95fa-0080c78ee3bb")]
public interface UserObject : User
Osservazioni
Questo tipo è un wrapper per una coclasse richiesta dal codice gestito per l'interoperabilità COM. Utilizzare questo tipo per accedere ai membri dell'interfaccia COM implementata dalla coclasse. Per informazioni sull'interfaccia COM e un collegamento alle descrizioni dei relativi membri, vedere User.
L'utilizzo dei membri dell'interfaccia User garantisce la compatibilità con InfoPath 2003. Per utilizzare nuovi membri aggiunti al modello a oggetti User2 in Microsoft Office InfoPath 2007, è necessario eseguire il cast dell'oggetto restituito dalla proprietà User dell'oggetto Application al tipo User2. Per ulteriori informazioni, vedere Procedura: Utilizzare membri di Microsoft.Office.Interop.InfoPath.SemiTrust non compatibili con InfoPath 2003.
È possibile accedere all'oggetto UserObject tramite la proprietà User dell'oggetto Application.
Vedere anche
Riferimenti
Membri UserObject
Spazio dei nomi Microsoft.Office.Interop.InfoPath.SemiTrust