C# 클래스 SenseNet.DirectoryServices.Common

파일 보기 프로젝트 열기: maxpavlov/FlexNet

공개 메소드들

메소드 설명
ChangeToAdminAccount ( ) : void
CombineADPath ( string path1, string path2 ) : string
ConnectToAD ( string ldapPath, string customADAdminAccountName, string customADAdminAccountPwd, bool novellSupport, string guidProp ) : System.DirectoryServices.DirectoryEntry
ConnectToADSimple ( string ldapPath ) : System.DirectoryServices.DirectoryEntry
DisableADObjectCustomProperties ( System.DirectoryServices.DirectoryEntry entry, List propertyMappings, int ADNameMaxLength, int ADsAMAccountNameMaxLength ) : void
DisablePortalUserCustomProperties ( Node node, List propertyMappings ) : void
DisableUserAccount ( System.DirectoryServices.DirectoryEntry adUser ) : void
EnableUserAccount ( System.DirectoryServices.DirectoryEntry adUser ) : void
EnsurePath ( string path ) : void
GetADObjectGuid ( System.DirectoryServices.DirectoryEntry entry, string guidProp ) : Guid?
GetADObjectName ( string name ) : string
GetADObjectNameFromPath ( string portalPath ) : string
GetADObjectPrefix ( ADObjectType adObjectType ) : string
GetADObjectType ( System.DirectoryServices.DirectoryEntry entry, bool novellSupport ) : ADObjectType
GetADObjectType ( NodeType nodeType ) : ADObjectType
GetADResultGuid ( SearchResult result, string guidProp ) : Guid?
GetContainerUsers ( Node container ) : IEnumerable
GetEntryValue ( System.DirectoryServices.DirectoryEntry entry, SyncProperty adProp ) : string
GetGuid ( byte byteArray ) : Guid?
GetNodeType ( ADObjectType adObjectType ) : NodeType
GetNodeValue ( Node node, SyncProperty portalProp ) : string
GetPortalDomainName ( string ADDomainPath ) : string

Gets the portal representative for a given AD domain

GetPortalObjectByGuid ( System.Guid guid ) : Node
GetPortalObjectGuid ( Node node ) : Guid?
Guid2OctetString ( System.Guid guid ) : string
IsADAuthenticated ( string adPath, string domain, string username, string pwd, string userNameProp ) : bool
IsADCustomAuthenticated ( string adPath, string loginPropValue, string pwd, string loginProp, string customADAdminAccountName, string customADAdminAccountPwd ) : bool
IsADObjectContainer ( System.DirectoryServices.DirectoryEntry adObject ) : bool
IsADObjectDomain ( System.DirectoryServices.DirectoryEntry adObject ) : bool
IsADObjectGroup ( System.DirectoryServices.DirectoryEntry adObject ) : bool
IsADObjectOrgUnit ( System.DirectoryServices.DirectoryEntry adObject ) : bool
IsADObjectOrganization ( System.DirectoryServices.DirectoryEntry adObject ) : bool
IsADObjectUser ( System.DirectoryServices.DirectoryEntry adObject, bool novellSupport ) : bool
IsAccountDisabled ( System.DirectoryServices.DirectoryEntry adUser, bool novellSupport ) : bool
IsPortalObjectInvalid ( Node node, SearchResult result, bool novellSupport ) : bool
MaximizeLength ( this s, int max ) : string
PrefixDeleted ( this s ) : string
PropValueCollContains ( System.DirectoryServices.PropertyValueCollection propValueColl, string value ) : bool
RenameADObjectIfNecessary ( System.DirectoryServices.DirectoryEntry entry, Node node, int ADNameMaxLength, bool allowRename ) : void
RestoreOriginalUser ( IUser originalUser ) : void
Search ( System.DirectoryServices.DirectoryEntry searchRoot, string filter, bool novellSupport, string guidProp ) : System.DirectoryServices.SearchResultCollection
SearchADObject ( System.DirectoryServices.DirectoryEntry searchRoot, string filter, bool novellSupport, string guidProp ) : System.DirectoryServices.DirectoryEntry
SetEntryValue ( System.DirectoryServices.DirectoryEntry entry, SyncProperty adProp, string value ) : void
SetNodeValue ( Node node, SyncProperty portalProp, string value ) : void
SetPassword ( System.DirectoryServices.DirectoryEntry adUser, string password ) : void
SetPortalObjectGuid ( System.DirectoryServices.DirectoryEntry entry, Node node, string guidProp ) : void
StripADName ( string name ) : string
SyncInitialUserProperties ( User user ) : void
SyncVirtualUserFromAD ( string adPath, System.Guid guid, User virtualUser, List propertyMappings, string customADAdminAccountName, string customADAdminAccountPwd, bool novellSupport, string guidProp, bool syncUserName ) : bool
SyncVirtualUserFromAD ( string adPath, string username, User virtualUser, List propertyMappings, string customADAdminAccountName, string customADAdminAccountPwd, bool novellSupport, string guidProp, bool syncUserName ) : bool
UpdateADUserCustomProperties ( System.DirectoryServices.DirectoryEntry entry, Node user, List propertyMappings, bool enabled, int ADsAMAccountNameMaxLength, bool syncEnabledState, bool syncUserName ) : void
UpdateLastSync ( Node node, System.Guid guid ) : void
UpdatePortalUserCustomProperties ( System.DirectoryServices.DirectoryEntry entry, Node node, List propertyMappings, bool syncUserName ) : void

메소드 상세

ChangeToAdminAccount() 공개 정적인 메소드

public static ChangeToAdminAccount ( ) : void
리턴 void

CombineADPath() 공개 정적인 메소드

public static CombineADPath ( string path1, string path2 ) : string
path1 string
path2 string
리턴 string

ConnectToAD() 공개 정적인 메소드

public static ConnectToAD ( string ldapPath, string customADAdminAccountName, string customADAdminAccountPwd, bool novellSupport, string guidProp ) : System.DirectoryServices.DirectoryEntry
ldapPath string
customADAdminAccountName string
customADAdminAccountPwd string
novellSupport bool
guidProp string
리턴 System.DirectoryServices.DirectoryEntry

ConnectToADSimple() 공개 정적인 메소드

public static ConnectToADSimple ( string ldapPath ) : System.DirectoryServices.DirectoryEntry
ldapPath string
리턴 System.DirectoryServices.DirectoryEntry

DisableADObjectCustomProperties() 공개 정적인 메소드

public static DisableADObjectCustomProperties ( System.DirectoryServices.DirectoryEntry entry, List propertyMappings, int ADNameMaxLength, int ADsAMAccountNameMaxLength ) : void
entry System.DirectoryServices.DirectoryEntry
propertyMappings List
ADNameMaxLength int
ADsAMAccountNameMaxLength int
리턴 void

DisablePortalUserCustomProperties() 공개 정적인 메소드

public static DisablePortalUserCustomProperties ( Node node, List propertyMappings ) : void
node Node
propertyMappings List
리턴 void

DisableUserAccount() 공개 정적인 메소드

public static DisableUserAccount ( System.DirectoryServices.DirectoryEntry adUser ) : void
adUser System.DirectoryServices.DirectoryEntry
리턴 void

EnableUserAccount() 공개 정적인 메소드

public static EnableUserAccount ( System.DirectoryServices.DirectoryEntry adUser ) : void
adUser System.DirectoryServices.DirectoryEntry
리턴 void

EnsurePath() 공개 정적인 메소드

public static EnsurePath ( string path ) : void
path string
리턴 void

GetADObjectGuid() 공개 정적인 메소드

public static GetADObjectGuid ( System.DirectoryServices.DirectoryEntry entry, string guidProp ) : Guid?
entry System.DirectoryServices.DirectoryEntry
guidProp string
리턴 Guid?

GetADObjectName() 공개 정적인 메소드

public static GetADObjectName ( string name ) : string
name string
리턴 string

GetADObjectNameFromPath() 공개 정적인 메소드

public static GetADObjectNameFromPath ( string portalPath ) : string
portalPath string
리턴 string

GetADObjectPrefix() 공개 정적인 메소드

public static GetADObjectPrefix ( ADObjectType adObjectType ) : string
adObjectType ADObjectType
리턴 string

GetADObjectType() 공개 정적인 메소드

public static GetADObjectType ( System.DirectoryServices.DirectoryEntry entry, bool novellSupport ) : ADObjectType
entry System.DirectoryServices.DirectoryEntry
novellSupport bool
리턴 ADObjectType

GetADObjectType() 공개 정적인 메소드

public static GetADObjectType ( NodeType nodeType ) : ADObjectType
nodeType SenseNet.ContentRepository.Storage.Schema.NodeType
리턴 ADObjectType

GetADResultGuid() 공개 정적인 메소드

public static GetADResultGuid ( SearchResult result, string guidProp ) : Guid?
result SearchResult
guidProp string
리턴 Guid?

GetContainerUsers() 공개 정적인 메소드

public static GetContainerUsers ( Node container ) : IEnumerable
container Node
리턴 IEnumerable

GetEntryValue() 공개 정적인 메소드

public static GetEntryValue ( System.DirectoryServices.DirectoryEntry entry, SyncProperty adProp ) : string
entry System.DirectoryServices.DirectoryEntry
adProp SyncProperty
리턴 string

GetGuid() 공개 정적인 메소드

public static GetGuid ( byte byteArray ) : Guid?
byteArray byte
리턴 Guid?

GetNodeType() 공개 정적인 메소드

public static GetNodeType ( ADObjectType adObjectType ) : NodeType
adObjectType ADObjectType
리턴 SenseNet.ContentRepository.Storage.Schema.NodeType

GetNodeValue() 공개 정적인 메소드

public static GetNodeValue ( Node node, SyncProperty portalProp ) : string
node Node
portalProp SyncProperty
리턴 string

GetPortalDomainName() 공개 정적인 메소드

Gets the portal representative for a given AD domain
public static GetPortalDomainName ( string ADDomainPath ) : string
ADDomainPath string
리턴 string

GetPortalObjectByGuid() 공개 정적인 메소드

public static GetPortalObjectByGuid ( System.Guid guid ) : Node
guid System.Guid
리턴 Node

GetPortalObjectGuid() 공개 정적인 메소드

public static GetPortalObjectGuid ( Node node ) : Guid?
node Node
리턴 Guid?

Guid2OctetString() 공개 정적인 메소드

public static Guid2OctetString ( System.Guid guid ) : string
guid System.Guid
리턴 string

IsADAuthenticated() 공개 정적인 메소드

public static IsADAuthenticated ( string adPath, string domain, string username, string pwd, string userNameProp ) : bool
adPath string
domain string
username string
pwd string
userNameProp string
리턴 bool

IsADCustomAuthenticated() 공개 정적인 메소드

public static IsADCustomAuthenticated ( string adPath, string loginPropValue, string pwd, string loginProp, string customADAdminAccountName, string customADAdminAccountPwd ) : bool
adPath string
loginPropValue string
pwd string
loginProp string
customADAdminAccountName string
customADAdminAccountPwd string
리턴 bool

IsADObjectContainer() 공개 정적인 메소드

public static IsADObjectContainer ( System.DirectoryServices.DirectoryEntry adObject ) : bool
adObject System.DirectoryServices.DirectoryEntry
리턴 bool

IsADObjectDomain() 공개 정적인 메소드

public static IsADObjectDomain ( System.DirectoryServices.DirectoryEntry adObject ) : bool
adObject System.DirectoryServices.DirectoryEntry
리턴 bool

IsADObjectGroup() 공개 정적인 메소드

public static IsADObjectGroup ( System.DirectoryServices.DirectoryEntry adObject ) : bool
adObject System.DirectoryServices.DirectoryEntry
리턴 bool

IsADObjectOrgUnit() 공개 정적인 메소드

public static IsADObjectOrgUnit ( System.DirectoryServices.DirectoryEntry adObject ) : bool
adObject System.DirectoryServices.DirectoryEntry
리턴 bool

IsADObjectOrganization() 공개 정적인 메소드

public static IsADObjectOrganization ( System.DirectoryServices.DirectoryEntry adObject ) : bool
adObject System.DirectoryServices.DirectoryEntry
리턴 bool

IsADObjectUser() 공개 정적인 메소드

public static IsADObjectUser ( System.DirectoryServices.DirectoryEntry adObject, bool novellSupport ) : bool
adObject System.DirectoryServices.DirectoryEntry
novellSupport bool
리턴 bool

IsAccountDisabled() 공개 정적인 메소드

public static IsAccountDisabled ( System.DirectoryServices.DirectoryEntry adUser, bool novellSupport ) : bool
adUser System.DirectoryServices.DirectoryEntry
novellSupport bool
리턴 bool

IsPortalObjectInvalid() 공개 정적인 메소드

public static IsPortalObjectInvalid ( Node node, SearchResult result, bool novellSupport ) : bool
node Node
result SearchResult
novellSupport bool
리턴 bool

MaximizeLength() 공개 정적인 메소드

public static MaximizeLength ( this s, int max ) : string
s this
max int
리턴 string

PrefixDeleted() 공개 정적인 메소드

public static PrefixDeleted ( this s ) : string
s this
리턴 string

PropValueCollContains() 공개 정적인 메소드

public static PropValueCollContains ( System.DirectoryServices.PropertyValueCollection propValueColl, string value ) : bool
propValueColl System.DirectoryServices.PropertyValueCollection
value string
리턴 bool

RenameADObjectIfNecessary() 공개 정적인 메소드

public static RenameADObjectIfNecessary ( System.DirectoryServices.DirectoryEntry entry, Node node, int ADNameMaxLength, bool allowRename ) : void
entry System.DirectoryServices.DirectoryEntry
node Node
ADNameMaxLength int
allowRename bool
리턴 void

RestoreOriginalUser() 공개 정적인 메소드

public static RestoreOriginalUser ( IUser originalUser ) : void
originalUser IUser
리턴 void

Search() 공개 정적인 메소드

public static Search ( System.DirectoryServices.DirectoryEntry searchRoot, string filter, bool novellSupport, string guidProp ) : System.DirectoryServices.SearchResultCollection
searchRoot System.DirectoryServices.DirectoryEntry
filter string
novellSupport bool
guidProp string
리턴 System.DirectoryServices.SearchResultCollection

SearchADObject() 공개 정적인 메소드

public static SearchADObject ( System.DirectoryServices.DirectoryEntry searchRoot, string filter, bool novellSupport, string guidProp ) : System.DirectoryServices.DirectoryEntry
searchRoot System.DirectoryServices.DirectoryEntry
filter string
novellSupport bool
guidProp string
리턴 System.DirectoryServices.DirectoryEntry

SetEntryValue() 공개 정적인 메소드

public static SetEntryValue ( System.DirectoryServices.DirectoryEntry entry, SyncProperty adProp, string value ) : void
entry System.DirectoryServices.DirectoryEntry
adProp SyncProperty
value string
리턴 void

SetNodeValue() 공개 정적인 메소드

public static SetNodeValue ( Node node, SyncProperty portalProp, string value ) : void
node Node
portalProp SyncProperty
value string
리턴 void

SetPassword() 공개 정적인 메소드

public static SetPassword ( System.DirectoryServices.DirectoryEntry adUser, string password ) : void
adUser System.DirectoryServices.DirectoryEntry
password string
리턴 void

SetPortalObjectGuid() 공개 정적인 메소드

public static SetPortalObjectGuid ( System.DirectoryServices.DirectoryEntry entry, Node node, string guidProp ) : void
entry System.DirectoryServices.DirectoryEntry
node Node
guidProp string
리턴 void

StripADName() 공개 정적인 메소드

public static StripADName ( string name ) : string
name string
리턴 string

SyncInitialUserProperties() 공개 정적인 메소드

public static SyncInitialUserProperties ( User user ) : void
user SenseNet.ContentRepository.User
리턴 void

SyncVirtualUserFromAD() 공개 정적인 메소드

public static SyncVirtualUserFromAD ( string adPath, System.Guid guid, User virtualUser, List propertyMappings, string customADAdminAccountName, string customADAdminAccountPwd, bool novellSupport, string guidProp, bool syncUserName ) : bool
adPath string
guid System.Guid
virtualUser SenseNet.ContentRepository.User
propertyMappings List
customADAdminAccountName string
customADAdminAccountPwd string
novellSupport bool
guidProp string
syncUserName bool
리턴 bool

SyncVirtualUserFromAD() 공개 정적인 메소드

public static SyncVirtualUserFromAD ( string adPath, string username, User virtualUser, List propertyMappings, string customADAdminAccountName, string customADAdminAccountPwd, bool novellSupport, string guidProp, bool syncUserName ) : bool
adPath string
username string
virtualUser SenseNet.ContentRepository.User
propertyMappings List
customADAdminAccountName string
customADAdminAccountPwd string
novellSupport bool
guidProp string
syncUserName bool
리턴 bool

UpdateADUserCustomProperties() 공개 정적인 메소드

public static UpdateADUserCustomProperties ( System.DirectoryServices.DirectoryEntry entry, Node user, List propertyMappings, bool enabled, int ADsAMAccountNameMaxLength, bool syncEnabledState, bool syncUserName ) : void
entry System.DirectoryServices.DirectoryEntry
user Node
propertyMappings List
enabled bool
ADsAMAccountNameMaxLength int
syncEnabledState bool
syncUserName bool
리턴 void

UpdateLastSync() 공개 정적인 메소드

public static UpdateLastSync ( Node node, System.Guid guid ) : void
node Node
guid System.Guid
리턴 void

UpdatePortalUserCustomProperties() 공개 정적인 메소드

public static UpdatePortalUserCustomProperties ( System.DirectoryServices.DirectoryEntry entry, Node node, List propertyMappings, bool syncUserName ) : void
entry System.DirectoryServices.DirectoryEntry
node Node
propertyMappings List
syncUserName bool
리턴 void