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.
Gets the user profile by the specified index.
Namespace: [UserProfileService Web service]
Web service reference: http://Site/_vti_bin/UserProfileService.asmx
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetUserProfileByIndex", RequestNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService", _
ResponseNamespace := "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetUserProfileByIndex ( _
index As Integer _
) As GetUserProfileByIndexResult
'Usage
Dim instance As UserProfileService
Dim index As Integer
Dim returnValue As GetUserProfileByIndexResult
returnValue = instance.GetUserProfileByIndex(index)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetUserProfileByIndex", RequestNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService",
ResponseNamespace = "https://microsoft.com/webservices/SharePointPortalServer/UserProfileService",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public GetUserProfileByIndexResult GetUserProfileByIndex(
int index
)
Parameters
index
Type: System.Int32The index of the user profile to be retrieved.
Return Value
Type: [UserProfileService Web service].GetUserProfileByIndexResult
The user profile.
Exceptions
Exception | Condition |
---|---|
NoPortalContextException | A proxy for the user profile cannot be found. |
SoapException | The user profile cannot be retrieved. |
Remarks
This method returns the information about the user profile by the specified index.