Share via


SocialActorInfo.AccountName property

Gets or sets the actor's account name. Applies to users.

Namespace:  Microsoft.SharePoint.Client.Social
Assembly:  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

Syntax

'Declaration
Public Property AccountName As String
    Get
    Set
'Usage
Dim instance As SocialActorInfo
Dim value As String

value = instance.AccountName

instance.AccountName = value
public string AccountName { get; set; }

Property value

Type: System.String

Remarks

This property is valid only when Id is null or empty and ActorType is User.

See also

Reference

SocialActorInfo class

SocialActorInfo members

Microsoft.SharePoint.Client.Social namespace

Other resources

How to: Follow people by using the .NET client object model in SharePoint 2013