共用方式為


SPProcessAccount.LookupManagedAccount method

尋找安裝在本機伺服器陣列中的受管理的處理序帳戶資訊。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Shared Function LookupManagedAccount ( _
    sid As SecurityIdentifier _
) As SPProcessAccount
'用途
Dim sid As SecurityIdentifier
Dim returnValue As SPProcessAccount

returnValue = SPProcessAccount.LookupManagedAccount(sid)
public static SPProcessAccount LookupManagedAccount(
    SecurityIdentifier sid
)

參數

傳回值

Type: Microsoft.SharePoint.Administration.SPProcessAccount
SPProcessAccount 對應到指定的安全性識別碼或 null,如果安全性識別碼不符合的受管理的帳戶的程序的帳戶資訊。

請參閱

參照

SPProcessAccount class

SPProcessAccount members

Microsoft.SharePoint.Administration namespace