Share via


MySiteProfileHandler.SetMySiteOwner method (UserProfile, String)

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

Syntax

'Declaration
Public Overridable Sub SetMySiteOwner ( _
    profile As UserProfile, _
    newOwner As String _
)
'Usage
Dim instance As MySiteProfileHandler
Dim profile As UserProfile
Dim newOwner As String

instance.SetMySiteOwner(profile, newOwner)
public virtual void SetMySiteOwner(
    UserProfile profile,
    string newOwner
)

Parameters

See also

Reference

MySiteProfileHandler class

MySiteProfileHandler members

SetMySiteOwner overload

Microsoft.Office.Server.UserProfiles namespace