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