Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Looks up the managed process account information in the local farm.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Shared Function LookupManagedAccount ( _
sid As SecurityIdentifier _
) As SPProcessAccount
'Usage
Dim sid As SecurityIdentifier
Dim returnValue As SPProcessAccount
returnValue = SPProcessAccount.LookupManagedAccount(sid)
public static SPProcessAccount LookupManagedAccount(
SecurityIdentifier sid
)
Parameters
sid
Type: System.Security.Principal.SecurityIdentifierThe security identifier of the managed account.
Return Value
Type: Microsoft.SharePoint.Administration.SPProcessAccount
An SPProcessAccount with the process account information corresponding to the specified security identifier, or null, if the security identifier did not match a managed account.