共用方式為


UserProfileManager.GetUserProfile Method (Byte )

Gets the UserProfile object for the specified SID in byte[] format.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Function GetUserProfile ( _
    rgbySID As Byte() _
) As UserProfile
'Usage
Dim instance As UserProfileManager
Dim rgbySID As Byte()
Dim returnValue As UserProfile

returnValue = instance.GetUserProfile(rgbySID)
public UserProfile GetUserProfile(
    byte[] rgbySID
)

Parameters

  • rgbySID
    Type: []

    The SID of the user profile.

Return Value

Type: Microsoft.Office.Server.UserProfiles.UserProfile
that represents the user profile for the specified in byte[] format.

See Also

Reference

UserProfileManager Class

UserProfileManager Members

GetUserProfile Overload

Microsoft.Office.Server.UserProfiles Namespace