C# 클래스 SecurityInnovation.TeamMentor.WebClient.WebServices.TM_WebServices

파일 보기 프로젝트 열기: TeamMentor-OWASP/Master 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
guiObjectsCacheOK bool
last_GUI_Objects TM_GUI_Objects

공개 메소드들

메소드 설명
TM_WebServices ( ) : System
TM_WebServices ( bool disable_CSRF_Check ) : System
resetCache ( ) : void

비공개 메소드들

메소드 설명
AddGuidanceItemsToView ( System.Guid viewId, List guidanceItemIds ) : bool
BatchUserCreation ( string batchUserData ) : List
ClearGUIObjects ( ) : bool
CreateArticle ( TeamMentor_Article article ) : System.Guid
CreateArticle_Simple ( System.Guid libraryId, string title, string dataType, string htmlCode ) : System.Guid
CreateFolder ( System.Guid libraryId, System.Guid parentFolderId, string newFolderName ) : Folder_V3
CreateGuidanceItem ( GuidanceItem_V3 guidanceItem ) : System.Guid
CreateGuidanceType ( GuidanceType guidanceType, string columns ) : GuidanceType
CreateLibrary ( Library library ) : Library_V3
CreateUser ( NewUser newUser ) : int
CreateUser_Random ( ) : TMUser
CreateUsers ( List newUsers ) : List
CreateView ( System.Guid folderId, View view ) : View_V3
CreateWebEditorSecret ( ) : string
CurrentProxyType ( ) : string
Current_SessionID ( ) : System.Guid
Current_User ( ) : TMUser
Data_GuidanceItems_Cached_GuidanceItems ( ) : TeamMentor_Article>>.List
Data_GuidanceItems_FileMappings ( ) : string>>.List
DeleteDeletedGuidanceTypes ( ) : bool
DeleteDeletedLibraries ( ) : bool
DeleteFolder ( System.Guid libraryId, System.Guid folderId ) : bool
DeleteGuidanceItem ( System.Guid guidanceItemId ) : bool
DeleteGuidanceItems ( List guidanceItemIds ) : bool
DeleteGuidanceType ( string guidanceTypeId ) : bool
DeleteLibrary ( System.Guid libraryId ) : bool
DeleteTempLibraries ( ) : List
DeleteUser ( int userId ) : bool
DeleteUsers ( List userIds ) : List
GetActiveSession ( System.Guid sessionID ) : TMUser
GetActiveSessions ( ) : List
GetAllFolders ( ) : List
GetAllGuidanceItems ( ) : List
GetAllLibraryIds ( ) : List
GetAllUserLogs ( ) : string
GetAllViews ( ) : List
GetCurrentSessionLibrary ( ) : System.Guid
GetCurrentUserRoles ( ) : List
GetDeletedLibraries ( ) : List
GetDisabledLibraries ( ) : List
GetFolderStructure_Libraries ( ) : List
GetFolderStructure_Library ( System.Guid libraryId ) : Library_V3
GetFolders ( System.Guid libraryId ) : List
GetGUIObjects ( ) : TM_GUI_Objects
GetGuidanceItemById ( string guidanceItemId ) : TeamMentor_Article
GetGuidanceItemHtml ( System.Guid GuidanceItemId ) : string
GetGuidanceItemKeywords ( string itemsId ) : List
GetGuidanceItemsHtml ( List GuidanceItemsIds ) : List
GetGuidanceItemsInFolder ( System.Guid folderId ) : List
GetGuidanceItemsInLibrary ( System.Guid libraryId ) : List
GetGuidanceItemsInView ( System.Guid viewId ) : List
GetGuidanceItemsInViews ( List viewIds ) : List
GetGuidanceItemsMappings ( ) : List
GetGuidanceTypeById ( string guidanceTypeId ) : GuidanceType
GetGuidanceTypeByName ( string guidanceTypeName ) : GuidanceType
GetGuidanceTypeColumns ( System.Guid guidanceTypeId ) : List
GetGuidanceTypes ( ) : List
GetLibraries ( ) : List
GetLibraryById ( System.Guid libraryId ) : Library
GetLibraryByName ( string libraryName ) : Library
GetLogs ( ) : string
GetPasswordHash ( string username, string password ) : string
GetSchemaById ( string schemaId ) : Schema
GetStringIndexes ( ) : List
GetTime ( ) : string
GetUploadToken ( ) : System.Guid
GetUserGroupId ( int userId ) : int
GetUserGroupName ( int userId ) : string
GetUserRoles ( int userId ) : List
GetUser_byID ( int userId ) : TMUser
GetUser_byName ( string name ) : TMUser
GetUsers ( ) : List
GetUsers_byID ( List userIds ) : List
GetViewById ( string viewId ) : View_V3
GetViewsInLibraryRoot ( string libraryID ) : List
Get_Libraries_Zip_Folder ( ) : string
Get_Libraries_Zip_Folder_Files ( ) : List
GitHub_Pull_Origin ( ) : string
GitHub_Push_Commit ( ) : string
GitHub_Push_Origin ( ) : string
Git_Execute ( string gitCommand ) : string
IsGuidMappedInThisServer ( System.Guid guid ) : bool
LogUserGUID ( string Guid ) : void
Login ( string username, string passwordHash ) : System.Guid
Login_PwdInClearText ( string username, string password ) : System.Guid
Logout ( ) : System.Guid
MoveViewToFolder ( System.Guid viewId, System.Guid folderId ) : bool
Ping ( string message ) : string
RBAC_CurrentIdentity_IsAuthenticated ( ) : bool
RBAC_CurrentIdentity_Name ( ) : string
RBAC_CurrentPrincipal_Roles ( ) : List
RBAC_HasRole ( string role ) : bool
RBAC_IsAdmin ( ) : bool
RBAC_SessionCookie ( ) : string
REPL_ExecuteSnippet ( string snippet ) : string
RemoveGuidanceItemsFromView ( System.Guid viewId, List guidanceItemIds ) : bool
RemoveGuidanceTypeColumns ( string schemaId ) : void
RemoveViewFromFolder ( System.Guid libraryId, System.Guid viewId ) : bool
RenameFolder ( System.Guid libraryId, System.Guid folderId, string newFolderName ) : bool
RenameLibrary ( System.Guid libraryId, string newName ) : bool
SSO_AuthenticateUser ( string ssoToken ) : System.Guid
SSO_GetSSOTokenForUser ( string userName ) : string
SSO_GetUserFromSSOToken ( string ssoToken ) : TMUser
SetArticleContent ( System.Guid articleId, string dataType, string content ) : bool
SetArticleHtml ( System.Guid articleId, string htmlContent ) : bool
SetDisabledLibraries ( List disabledLibraries ) : List
SetGuidanceItemKeywords ( string itemId, string keywords ) : void
SetUserGroupId ( int userId, int roleId ) : bool
SetUserPasswordHash ( int userId, string passwordHash ) : bool
SetUser_PostLoginScript ( string userName, string postLoginScript ) : TMUser
SetUser_PostLoginView ( string userName, string postLoginView ) : TMUser
Set_Libraries_Zip_Folder ( string folder ) : string
TMConfigFile ( ) : TMConfig
TMConfigFileLocation ( ) : string
UnDeleteLibrary ( System.Guid libraryId ) : bool
UpdateGuidanceItem ( TeamMentor_Article guidanceItem ) : bool
UpdateGuidanceType ( GuidanceType guidanceType, string columns ) : void
UpdateLibrary ( Library library ) : bool
UpdateUser ( int userId, string userName, string firstname, string lastname, string title, string company, string email, int groupId ) : bool
UpdateView ( View view ) : bool
Upload_File_To_Library ( System.Guid libraryId, string filename, byte contents ) : bool
VirtualArticle_Add_Mapping_ExternalArticle ( System.Guid id, string tmServer, System.Guid externalId ) : VirtualArticleAction
VirtualArticle_Add_Mapping_ExternalService ( System.Guid id, string service, string data ) : VirtualArticleAction
VirtualArticle_Add_Mapping_Redirect ( System.Guid id, string redirectUri ) : VirtualArticleAction
VirtualArticle_Add_Mapping_VirtualId ( System.Guid id, System.Guid virtualId ) : VirtualArticleAction
VirtualArticle_CreateArticle_from_ExternalServiceData ( string service, string serviceData ) : TeamMentor_Article
VirtualArticle_GetCurrentMappings ( ) : List
VirtualArticle_Get_GuidRedirect ( System.Guid id ) : string
VirtualArticle_Remove_Mapping ( System.Guid id ) : bool
XmlDatabase_GetDatabasePath ( ) : string
XmlDatabase_GetGuidanceItemPath ( System.Guid guidanceItemId ) : string
XmlDatabase_GetGuidanceItemXml ( System.Guid guidanceItemId ) : string
XmlDatabase_GetLibraryPath ( ) : string
XmlDatabase_GuidanceItems_SearchTitleAndHtml ( List guidanceItemsIds, string searchText ) : List
XmlDatabase_ImportLibrary_fromZipFile ( string pathToZipFile, string unzipPassword ) : bool
XmlDatabase_ReloadData ( ) : string
XmlDatabase_SetLibraryPath ( string libraryPath ) : string
getGuidForMapping ( string mapping ) : Guid

메소드 상세

TM_WebServices() 공개 메소드

public TM_WebServices ( ) : System
리턴 System

TM_WebServices() 공개 메소드

public TM_WebServices ( bool disable_CSRF_Check ) : System
disable_CSRF_Check bool
리턴 System

resetCache() 공개 메소드

public resetCache ( ) : void
리턴 void

프로퍼티 상세

guiObjectsCacheOK 공개적으로 정적으로 프로퍼티

public static bool guiObjectsCacheOK
리턴 bool

last_GUI_Objects 공개적으로 정적으로 프로퍼티

public static TM_GUI_Objects last_GUI_Objects
리턴 TM_GUI_Objects