Partager via


PjMembershipUser - Constructeur (Guid, String, String, String, String, Boolean, DateTime, DateTime, Boolean, DateTime, Boolean, DateTime, DateTime, Guid, String)

Remarque : cette API est désormais obsolète.

Instancie un objet PjMembershipUser , où les propriétés sont spécifiées.

Espace de noms :  Microsoft.Office.Project.Server.Library
Assembly :  Microsoft.Office.Project.Server.Library (dans Microsoft.Office.Project.Server.Library.dll)

Syntaxe

'Déclaration
<ObsoleteAttribute("in o15")> _
Public Sub New ( _
    UserId As Guid, _
    UserName As String, _
    PasswordQuestion As String, _
    Comment As String, _
    Email As String, _
    IsOnline As Boolean, _
    LastLoginDate As DateTime, _
    LastActivityDate As DateTime, _
    IsLockedOut As Boolean, _
    LastLockoutDate As DateTime, _
    IsApproved As Boolean, _
    LastPasswordChangeDate As DateTime, _
    CreationDate As DateTime, _
    DelegateId As Guid, _
    DelegateName As String _
)
'Utilisation
Dim UserId As Guid
Dim UserName As String
Dim PasswordQuestion As String
Dim Comment As String
Dim Email As String
Dim IsOnline As Boolean
Dim LastLoginDate As DateTime
Dim LastActivityDate As DateTime
Dim IsLockedOut As Boolean
Dim LastLockoutDate As DateTime
Dim IsApproved As Boolean
Dim LastPasswordChangeDate As DateTime
Dim CreationDate As DateTime
Dim DelegateId As Guid
Dim DelegateName As String

Dim instance As New PjMembershipUser(UserId, _
    UserName, PasswordQuestion, Comment, _
    Email, IsOnline, LastLoginDate, LastActivityDate, _
    IsLockedOut, LastLockoutDate, IsApproved, _
    LastPasswordChangeDate, CreationDate, _
    DelegateId, DelegateName)
[ObsoleteAttribute("in o15")]
public PjMembershipUser(
    Guid UserId,
    string UserName,
    string PasswordQuestion,
    string Comment,
    string Email,
    bool IsOnline,
    DateTime LastLoginDate,
    DateTime LastActivityDate,
    bool IsLockedOut,
    DateTime LastLockoutDate,
    bool IsApproved,
    DateTime LastPasswordChangeDate,
    DateTime CreationDate,
    Guid DelegateId,
    string DelegateName
)

Paramètres

Voir aussi

Référence

PjMembershipUser classe

PjMembershipUser - Membres

PjMembershipUser - Surcharge

Microsoft.Office.Project.Server.Library - Espace de noms