Share via


SharepointEmailWS.ModifyContact method

Requests a change in information about a contact.

Namespace:  WebSvcsharepointemailws
Assembly:  STSSOAP (in STSSOAP.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePoint/SharepointEmailWS/ModifyContact", RequestNamespace := "https://microsoft.com/webservices/SharePoint/SharepointEmailWS/",  _
    ResponseNamespace := "https://microsoft.com/webservices/SharePoint/SharepointEmailWS/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ModifyContact ( _
    OldAlias As String, _
    NewAlias As String, _
    FirstName As String, _
    LastName As String, _
    ForwardingEmail As String, _
    Flags As ContactFlags _
) As RequestStatus
'Usage
Dim instance As SharepointEmailWS
Dim OldAlias As String
Dim NewAlias As String
Dim FirstName As String
Dim LastName As String
Dim ForwardingEmail As String
Dim Flags As ContactFlags
Dim returnValue As RequestStatus

returnValue = instance.ModifyContact(OldAlias, _
    NewAlias, FirstName, LastName, ForwardingEmail, _
    Flags)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/SharePoint/SharepointEmailWS/ModifyContact", RequestNamespace = "https://microsoft.com/webservices/SharePoint/SharepointEmailWS/", 
    ResponseNamespace = "https://microsoft.com/webservices/SharePoint/SharepointEmailWS/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public RequestStatus ModifyContact(
    string OldAlias,
    string NewAlias,
    string FirstName,
    string LastName,
    string ForwardingEmail,
    ContactFlags Flags
)

Parameters

  • OldAlias
    Type: System.String

    The current e-mail alias of the contact.

  • NewAlias
    Type: System.String

    The e-mail alias that the contact is to have hereafter. It can be the same as OldAlias.

  • ForwardingEmail
    Type: System.String

    The e-mail address of the contact.

  • Flags
    Type: WebSvcsharepointemailws.ContactFlags

    A value indicating whether unauthenticated e-mail that is addressed to the contact is deleted by Microsoft Exchange or sent to the contact.

Return value

Type: WebSvcsharepointemailws.RequestStatus
A RequestStatus value that reports the outcome of the operation.

See also

Reference

SharepointEmailWS class

SharepointEmailWS members

WebSvcsharepointemailws namespace