C# Class SenseNet.ContentRepository.User

Inheritance: GenericContent, IUser, IADSyncable
Exibir arquivo Open project: maxpavlov/FlexNet Class Usage Examples

Private Properties

Property Type Description
CheckUniqueUser void
GenerateDomain string
GetOldPasswords List
GetProfileName string
GetProfileParentPath string
GetUniqueUserException System.Exception
SaveCurrentPassword void
SearchInLucene IEnumerable
SetOldPasswords void
SynchUser void

Public Methods

Method 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

Protected Methods

Method Description
OnMoving ( object sender, SenseNet e ) : void
User ( NodeToken token ) : System

Private Methods

Method 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 method

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

CheckPassword() public method

public CheckPassword ( string password, List oldPasswords ) : PasswordCheckResult
password string
oldPasswords List
return SenseNet.ContentRepository.Fields.PasswordCheckResult

CheckPasswordMatch() public static method

public static CheckPasswordMatch ( string passwordInClearText, string encodedPassword ) : bool
passwordInClearText string
encodedPassword string
return bool

CreateProfile() public method

public CreateProfile ( ) : void
return void

CreateProfile() public method

public CreateProfile ( Node template ) : void
template Node
return void

EncodePassword() public static method

public static EncodePassword ( string passwordInClearText ) : string
passwordInClearText string
return string

ForceDelete() public method

public ForceDelete ( ) : void
return void

GetPrincipals() public method

public GetPrincipals ( ) : List
return List

GetProfilePath() public method

public GetProfilePath ( ) : string
return string

GetProperty() public method

public GetProperty ( string name ) : object
name string
return object

GetUserCacheKey() public static method

public static GetUserCacheKey ( string domain, string name ) : string
domain string
name string
return string

IsInContainer() public method

public IsInContainer ( ISecurityContainer container ) : bool
container ISecurityContainer
return bool

IsInGroup() public method

public IsInGroup ( IGroup group ) : bool
group IGroup
return bool

IsInOrganizationalUnit() public method

public IsInOrganizationalUnit ( IOrganizationalUnit orgUnit ) : bool
orgUnit IOrganizationalUnit
return bool

IsProfileExist() public method

public IsProfileExist ( ) : bool
return bool

Load() public static method

public static Load ( string domain, string name ) : User
domain string
name string
return User

Load() public static method

public static Load ( string domain, string name, ExecutionHint hint ) : User
domain string
name string
hint ExecutionHint
return User

MoveTo() public method

public MoveTo ( Node target ) : void
target Node
return void

OnMoving() protected method

protected OnMoving ( object sender, SenseNet e ) : void
sender object
e SenseNet
return void

RegisterUser() public static method

public static RegisterUser ( string fullUserName ) : User
fullUserName string
return User

Reset() public static method

public static Reset ( ) : void
return void

Save() public method

public Save ( NodeSaveSettings settings ) : void
settings SenseNet.ContentRepository.Storage.NodeSaveSettings
return void

SetProperty() public method

public SetProperty ( string name, object value ) : void
name string
value object
return void

UpdateLastSync() public method

public UpdateLastSync ( System.Guid guid ) : void
guid System.Guid
return void

User() public method

public User ( Node parent ) : System
parent Node
return System

User() public method

public User ( Node parent, string nodeTypeName ) : System
parent Node
nodeTypeName string
return System

User() protected method

protected User ( NodeToken token ) : System
token SenseNet.ContentRepository.Storage.NodeToken
return System