ExtendedMembershipProvider.HasLocalAccount(Int32) 方法

定義

指出使用者是否具有本機帳戶。

public virtual bool HasLocalAccount (int userId);
abstract member HasLocalAccount : int -> bool
override this.HasLocalAccount : int -> bool
Public Overridable Function HasLocalAccount (userId As Integer) As Boolean

參數

userId
Int32

使用者識別碼。

傳回

如果成員資格具有本機帳戶,則為 true;否則為 false。

適用於