C# Class SenseNet.ContentRepository.User

Inheritance: GenericContent, IUser, IADSyncable
Afficher le fichier Open project: maxpavlov/FlexNet Class Usage Examples

Private Properties

Свойство Type Description
CheckUniqueUser void
GenerateDomain string
GetOldPasswords List
GetProfileName string
GetProfileParentPath string
GetUniqueUserException System.Exception
SaveCurrentPassword void
SearchInLucene IEnumerable
SetOldPasswords void
SynchUser void

Méthodes publiques

Méthode Description
CheckPassword ( ContentType contentType, string fieldName, string password, List oldPasswords ) : PasswordCheckResult
CheckPassword ( string password, List oldPasswords ) : PasswordCheckResult
CheckPasswordMatch ( string passwordInClearText, string encodedPassword ) : bool
CreateProfile ( ) : void
CreateProfile ( Node template ) : void
EncodePassword ( string passwordInClearText ) : string
ForceDelete ( ) : void
GetPrincipals ( ) : List
GetProfilePath ( ) : string
GetProperty ( string name ) : object
GetUserCacheKey ( string domain, string name ) : string
IsInContainer ( ISecurityContainer container ) : bool
IsInGroup ( IGroup group ) : bool
IsInOrganizationalUnit ( IOrganizationalUnit orgUnit ) : bool
IsProfileExist ( ) : bool
Load ( string domain, string name ) : User
Load ( string domain, string name, ExecutionHint hint ) : User
MoveTo ( Node target ) : void
RegisterUser ( string fullUserName ) : User
Reset ( ) : void
Save ( NodeSaveSettings settings ) : void
SetProperty ( string name, object value ) : void
UpdateLastSync ( System.Guid guid ) : void
User ( Node parent ) : System
User ( Node parent, string nodeTypeName ) : System

Méthodes protégées

Méthode Description
OnMoving ( object sender, SenseNet e ) : void
User ( NodeToken token ) : System

Private Methods

Méthode Description
CheckUniqueUser ( ) : void
GenerateDomain ( ) : string
GetOldPasswords ( ) : List
GetProfileName ( ) : string
GetProfileParentPath ( ) : string
GetUniqueUserException ( string domainPath, string ids ) : Exception
SaveCurrentPassword ( ) : void
SearchInLucene ( string path, string typeName, string name ) : IEnumerable
SetOldPasswords ( List oldPasswords ) : void
SynchUser ( int originalId ) : void

Method Details

CheckPassword() public static méthode

public static CheckPassword ( ContentType contentType, string fieldName, string password, List oldPasswords ) : PasswordCheckResult
contentType SenseNet.ContentRepository.Schema.ContentType
fieldName string
password string
oldPasswords List
Résultat SenseNet.ContentRepository.Fields.PasswordCheckResult

CheckPassword() public méthode

public CheckPassword ( string password, List oldPasswords ) : PasswordCheckResult
password string
oldPasswords List
Résultat SenseNet.ContentRepository.Fields.PasswordCheckResult

CheckPasswordMatch() public static méthode

public static CheckPasswordMatch ( string passwordInClearText, string encodedPassword ) : bool
passwordInClearText string
encodedPassword string
Résultat bool

CreateProfile() public méthode

public CreateProfile ( ) : void
Résultat void

CreateProfile() public méthode

public CreateProfile ( Node template ) : void
template Node
Résultat void

EncodePassword() public static méthode

public static EncodePassword ( string passwordInClearText ) : string
passwordInClearText string
Résultat string

ForceDelete() public méthode

public ForceDelete ( ) : void
Résultat void

GetPrincipals() public méthode

public GetPrincipals ( ) : List
Résultat List

GetProfilePath() public méthode

public GetProfilePath ( ) : string
Résultat string

GetProperty() public méthode

public GetProperty ( string name ) : object
name string
Résultat object

GetUserCacheKey() public static méthode

public static GetUserCacheKey ( string domain, string name ) : string
domain string
name string
Résultat string

IsInContainer() public méthode

public IsInContainer ( ISecurityContainer container ) : bool
container ISecurityContainer
Résultat bool

IsInGroup() public méthode

public IsInGroup ( IGroup group ) : bool
group IGroup
Résultat bool

IsInOrganizationalUnit() public méthode

public IsInOrganizationalUnit ( IOrganizationalUnit orgUnit ) : bool
orgUnit IOrganizationalUnit
Résultat bool

IsProfileExist() public méthode

public IsProfileExist ( ) : bool
Résultat bool

Load() public static méthode

public static Load ( string domain, string name ) : User
domain string
name string
Résultat User

Load() public static méthode

public static Load ( string domain, string name, ExecutionHint hint ) : User
domain string
name string
hint ExecutionHint
Résultat User

MoveTo() public méthode

public MoveTo ( Node target ) : void
target Node
Résultat void

OnMoving() protected méthode

protected OnMoving ( object sender, SenseNet e ) : void
sender object
e SenseNet
Résultat void

RegisterUser() public static méthode

public static RegisterUser ( string fullUserName ) : User
fullUserName string
Résultat User

Reset() public static méthode

public static Reset ( ) : void
Résultat void

Save() public méthode

public Save ( NodeSaveSettings settings ) : void
settings SenseNet.ContentRepository.Storage.NodeSaveSettings
Résultat void

SetProperty() public méthode

public SetProperty ( string name, object value ) : void
name string
value object
Résultat void

UpdateLastSync() public méthode

public UpdateLastSync ( System.Guid guid ) : void
guid System.Guid
Résultat void

User() public méthode

public User ( Node parent ) : System
parent Node
Résultat System

User() public méthode

public User ( Node parent, string nodeTypeName ) : System
parent Node
nodeTypeName string
Résultat System

User() protected méthode

protected User ( NodeToken token ) : System
token SenseNet.ContentRepository.Storage.NodeToken
Résultat System