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
)
參數
- UserId
類型:System.Guid
- UserName
類型:System.String
- PasswordQuestion
類型:System.String
- Comment
類型:System.String
- Email
類型:System.String
- IsOnline
類型:System.Boolean
- LastLoginDate
類型:System.DateTime
- LastActivityDate
類型:System.DateTime
- IsLockedOut
類型:System.Boolean
- LastLockoutDate
類型:System.DateTime
- IsApproved
類型:System.Boolean
- LastPasswordChangeDate
類型:System.DateTime
- CreationDate
類型:System.DateTime
- DelegateId
類型:System.Guid
- DelegateName
類型:System.String