C# Class SenseNet.DirectoryServices.SyncPortal2AD

Show file Open project: maxpavlov/FlexNet Class Usage Examples

Public Methods

Method Description
AllowMoveADObject ( Node node, string newPath ) : bool
CreateNewADContainer ( Node node, string newPath ) : void
CreateNewADUser ( User user, string newPath, string passwd ) : void
DeleteADObject ( string nodePath, System.Guid guid ) : void
IsSyncedObject ( string nodePath ) : bool
SyncPortal2AD ( ) : System
UpdateADContainer ( Node node, string newPath ) : void
UpdateADUser ( User user, string newPath, string passwd ) : void

Private Methods

Method Description
CreateADContainer ( SyncTree syncTree, string parentADPath, Node node ) : void
CreateADGroup ( SyncTree syncTree, string parentADPath, Node node ) : void
CreateADOrgUnit ( SyncTree syncTree, string parentADPath, Node node ) : void
CreateADUser ( SyncTree syncTree, string parentADPath, User user, string passwd ) : void
GetADObjectByGuid ( System.Guid guid ) : SyncTreeADObject
GetSyncTreeContainingPortalPath ( string path ) : SyncTree
MoveADObjectIfNecessary ( System.DirectoryServices.DirectoryEntry entry, SyncTree entrySyncTree, Node node, string newPath ) : void
UpdateADContainerProperties ( System.DirectoryServices.DirectoryEntry entry, SyncTree entrySyncTree, Node node, string newPath, string passwd ) : void
UpdateADGroupCustomProperies ( System.DirectoryServices.DirectoryEntry entry, Node node ) : void
UpdateADObject ( Node node, string newPath, string passwd, Action UpdateObjectProperties ) : void
UpdateADUserProperties ( System.DirectoryServices.DirectoryEntry entry, SyncTree entrySyncTree, Node node, string newPath, string passwd ) : void

Method Details

AllowMoveADObject() public method

public AllowMoveADObject ( Node node, string newPath ) : bool
node Node
newPath string
return bool

CreateNewADContainer() public method

public CreateNewADContainer ( Node node, string newPath ) : void
node Node
newPath string
return void

CreateNewADUser() public method

public CreateNewADUser ( User user, string newPath, string passwd ) : void
user SenseNet.ContentRepository.User
newPath string
passwd string
return void

DeleteADObject() public method

public DeleteADObject ( string nodePath, System.Guid guid ) : void
nodePath string
guid System.Guid
return void

IsSyncedObject() public method

public IsSyncedObject ( string nodePath ) : bool
nodePath string
return bool

SyncPortal2AD() public method

public SyncPortal2AD ( ) : System
return System

UpdateADContainer() public method

public UpdateADContainer ( Node node, string newPath ) : void
node Node
newPath string
return void

UpdateADUser() public method

public UpdateADUser ( User user, string newPath, string passwd ) : void
user SenseNet.ContentRepository.User
newPath string
passwd string
return void