Class FluentUser
Defines the fluent user type.
Inherited Members
Namespace: StylelabsStylelabs.MSdkFluentModels
Assembly: Stylelabs.M.Sdk.Fluent.dll
Syntax
RequestResponse
public class FluentUser : FluentEntityConstructors
FluentUser(IEntity, IEntitiesClient, IUsersClient)
Initializes a new instance of the FluentUser class.
Declaration
RequestResponse
public FluentUser(IEntity entity, IEntitiesClient entitiesClient, IUsersClient usersClient)Parameters
| Type | Name | Description |
|---|---|---|
| IEntity | entity |
The entity. |
| IEntitiesClient | entitiesClient |
The entities client. |
| IUsersClient | usersClient |
The 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
RequestResponse
public FluentEntity ResetPassword()Returns
| Type | Description |
|---|---|
| FluentEntity |
The FluentUser. |
SetPassword(string)
Changes the password.
Declaration
RequestResponse
public FluentEntity SetPassword(string password)Parameters
| Type | Name | Description |
|---|---|---|
| string | password |
The password to reset. |
Returns
| Type | Description |
|---|---|
| FluentEntity |
The FluentUser. |