• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class UserSocial

The UserSocial is a high-level class describing social details of a user. As an example, this class contains Friends, Followers, Follows lists.

Inheritance
System.Object
UserSocial
Namespace: DotNetNuke.Entities.Users.Social
Assembly: DotNetNuke.dll
Syntax
public class UserSocial : object

Constructors

| Improve this Doc View Source

UserSocial(UserInfo)

Initializes a new instance of the UserSocial class.

Declaration
public UserSocial(UserInfo userInfo)
Parameters
Type Name Description
UserInfo userInfo

Properties

| Improve this Doc View Source

Follower

Gets the Follower Relationship. Does the user in object Follow the current User (with any status).

Declaration
public UserRelationship Follower { get; }
Property Value
Type Description
UserRelationship
| Improve this Doc View Source

Following

Gets the Following Relationship (if it exists with the current User).

Declaration
public UserRelationship Following { get; }
Property Value
Type Description
UserRelationship
| Improve this Doc View Source

Friend

Gets the Friend Relationship (if it exists with the current User).

Declaration
public UserRelationship Friend { get; }
Property Value
Type Description
UserRelationship
| Improve this Doc View Source

Relationships

Gets list of Relationships for the User.

Declaration
public IList<Relationship> Relationships { get; }
Property Value
Type Description
IList<Relationship>
| Improve this Doc View Source

Roles

Gets list of Roles/Groups for the User.

Declaration
public IList<UserRoleInfo> Roles { get; }
Property Value
Type Description
IList<UserRoleInfo>
| Improve this Doc View Source

UserRelationships

Gets a collection of all the relationships the user is a member of.

Declaration
public IList<UserRelationship> UserRelationships { get; }
Property Value
Type Description
IList<UserRelationship>

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS