1. Stylelabs.M.Sdk.Fluent.Models

Class FluentUser

Defines the fluent user type.

Inheritance

object

FluentEntity

FluentUser

Inherited Members

FluentEntity.Object

FluentEntity.Id

FluentEntity.Identifier

FluentEntity.IsNew

FluentEntity.DefinitionName

FluentEntity.LockedBy

FluentEntity.LockedOn

FluentEntity.IsPathRoot

FluentEntity.InheritsSecurity

FluentEntity.IsSystemOwned

FluentEntity.Version

FluentEntity.Cultures

FluentEntity.this[string]

FluentEntity.this[string, CultureInfo]

FluentEntity.SetPropertyValue(string, object)

FluentEntity.SetPropertyValue(string, CultureInfo, object)

FluentEntity.GetPropertyValue(string, Action)

FluentEntity.GetPropertyValue(string, CultureInfo, Action)

FluentEntity.Save()

FluentEntity.Delete()

FluentEntity.Reload()

FluentEntity.Parents(string, Action)

FluentEntity.Parent(string, Action)

FluentEntity.Children(string, Action)

FluentEntity.Child(string, Action)

Namespace: StylelabsStylelabs.MSdkFluentModels

Assembly: Stylelabs.M.Sdk.Fluent.dll

Syntax

public class FluentUser : FluentEntity

Constructors

FluentUser(IEntity, IEntitiesClient, IUsersClient)

Initializes a new instance of the FluentUser class.

Declaration

public FluentUser(IEntity entity, IEntitiesClient entitiesClient, IUsersClient usersClient)

Parameters

TypeNameDescription
IEntityentityThe entity.
IEntitiesCliententitiesClientThe entities client.
IUsersClientusersClientThe users client.

Methods

ResetPassword()

Resets the password. This sends an e-mail to the specified user with a link to choose a new password.

Declaration

public FluentEntity ResetPassword()

Returns

TypeDescription
FluentEntityThe FluentUser.

SetPassword(string)

Changes the password.

Declaration

public FluentEntity SetPassword(string password)

Parameters

TypeNameDescription
stringpasswordThe password to reset.

Returns

TypeDescription
FluentEntityThe FluentUser.

Extension Methods

FluentEntityExtensions.AssertPropertyEmpty(FluentEntity, string, CultureInfo)

FluentEntityExtensions.AssertPropertyEmpty(FluentEntity, string)

FluentEntityExtensions.AssertPropertyEqual(FluentEntity, string, T)

FluentEntityExtensions.AssertPropertyEqual(FluentEntity, string, CultureInfo, T)

FluentEntityExtensions.AssertPropertyGreater(FluentEntity, string, T)

FluentEntityExtensions.AssertPropertyGreater(FluentEntity, string, CultureInfo, T)

FluentEntityExtensions.AssertPropertyGreaterOrEqual(FluentEntity, string, T)

FluentEntityExtensions.AssertPropertyGreaterOrEqual(FluentEntity, string, CultureInfo, T)

FluentEntityExtensions.AssertPropertyLess(FluentEntity, string, T)

FluentEntityExtensions.AssertPropertyLess(FluentEntity, string, CultureInfo, T)

FluentEntityExtensions.AssertPropertyLessOrEqual(FluentEntity, string, T)

FluentEntityExtensions.AssertPropertyLessOrEqual(FluentEntity, string, CultureInfo, T)

FluentEntityExtensions.AssertPropertyNotEmpty(FluentEntity, string, CultureInfo)

FluentEntityExtensions.AssertPropertyNotEmpty(FluentEntity, string)

FluentEntityExtensions.AssertPropertyNotEqual(FluentEntity, string, T)

FluentEntityExtensions.AssertPropertyNotEqual(FluentEntity, string, CultureInfo, T)

FluentEntityExtensions.AssertRelation(FluentEntity, string, RelationRole?, FluentEntity)

If you have suggestions for improving this article, let us know!