Show / Hide Table of Contents

Class SoUserCredential

Inheritance
Object
NestedPersist
NestedPersistFacade
SoUserCredential
Implements
INestedPersist
Inherited Members
NestedPersistFacade.OnPrimaryKeyRequest(PKContainer)
NestedPersistFacade.OnPrimaryKeyUpdate(PKContainer)
NestedPersistFacade.OnIdUpdate()
NestedPersistFacade.OnSave(BatchSave)
NestedPersistFacade.OnSaved(Boolean)
NestedPersistFacade.IsDirty
NestedPersist._saveOwner
NestedPersist._isSaving
NestedPersist.SetSaveOwner(INestedPersist)
NestedPersist.Save()
NestedPersist.INestedPersist.OnPreIdUpdate()
NestedPersist.INestedPersist.OnPrimaryKeyRequest(PKContainer)
NestedPersist.INestedPersist.OnPrimaryKeyUpdate(PKContainer)
NestedPersist.INestedPersist.OnIdUpdate()
NestedPersist.INestedPersist.OnSave(BatchSave)
NestedPersist.INestedPersist.OnSaved(Boolean)
NestedPersist.IsSaving
NestedPersist.OnElementSaved
NestedPersist.OnElementIdUpdate
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Administration
Assembly: SoDataBase.dll
Syntax
public sealed class SoUserCredential : NestedPersistFacade, INestedPersist

Constructors

SoUserCredential(CredentialsRow)

Declaration
public SoUserCredential(CredentialsRow row)
Parameters
Type Name Description
CredentialsRow row

SoUserCredential(String)

Declaration
public SoUserCredential(string credentialType)
Parameters
Type Name Description
String credentialType

Properties

CanChangePassword

Is this plugin able to change password for the current

Declaration
public bool CanChangePassword { get; }
Property Value
Type Description
Boolean

CanCreatePerson

Declaration
public bool CanCreatePerson { get; }
Property Value
Type Description
Boolean

CanValidatePassword

Is the plugin able to validfate the password.

Declaration
public bool CanValidatePassword { get; }
Property Value
Type Description
Boolean

True if it is possible to validate the password.

ControlType

Declaration
public CredentialControlType ControlType { get; }
Property Value
Type Description
CredentialControlType

Description

Declaration
public string Description { get; }
Property Value
Type Description
String

DisplayType

Declaration
public string DisplayType { get; }
Property Value
Type Description
String

DisplayValue

Declaration
public string DisplayValue { get; set; }
Property Value
Type Description
String

IsDeleted

Declaration
public override bool IsDeleted { get; }
Property Value
Type Description
Boolean
Overrides
NestedPersist.IsDeleted

IsMarkedForDelete

Declaration
public override bool IsMarkedForDelete { get; set; }
Property Value
Type Description
Boolean
Overrides
NestedPersist.IsMarkedForDelete

Plugin

Declaration
public IUserCredentialPlugin Plugin { get; }
Property Value
Type Description
IUserCredentialPlugin

Row

Declaration
public CredentialsRow Row { get; }
Property Value
Type Description
CredentialsRow

Type

Declaration
public string Type { get; }
Property Value
Type Description
String

Value

Declaration
public string Value { get; set; }
Property Value
Type Description
String

Methods

ChangePassword(String, String)

Changes the account password from the old password to the new password.

Declaration
public void ChangePassword(string oldPassword, string newPassword)
Parameters
Type Name Description
String oldPassword

The old password to change from. This must be the current calid password.

String newPassword

The new password to change to.

GetFacadingItems()

Declaration
protected override IEnumerable<INestedPersist> GetFacadingItems()
Returns
Type Description
IEnumerable<INestedPersist>
Overrides
NestedPersistFacade.GetFacadingItems()

IsPasswordValid(String)

Check if password is valid.

Declaration
public bool IsPasswordValid(string password)
Parameters
Type Name Description
String password

The password to check if if it is valid (e.g. that means that this is the current password.)

Returns
Type Description
Boolean

True if the right password is passed in.

OnPreIdUpdate()

Declaration
protected override void OnPreIdUpdate()
Overrides
NestedPersistFacade.OnPreIdUpdate()

Implements

INestedPersist

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top