共用方式為


PjMembershipUser 建構函式 (Guid, String, String, String, String, Boolean, DateTime, DateTime, Boolean, DateTime, Boolean, DateTime, DateTime, Guid, String)

附註:此 API 目前已過時。

具現化PjMembershipUser物件,其中指定屬性。

命名空間:  Microsoft.Office.Project.Server.Library
組件:  Microsoft.Office.Project.Server.Library (在 Microsoft.Office.Project.Server.Library.dll 中)

語法

'宣告
<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 _
)
'用途
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
)

參數

請參閱

參照

PjMembershipUser 類別

PjMembershipUser 成員

PjMembershipUser 多載

Microsoft.Office.Project.Server.Library 命名空間