简体   繁体   English

TFS数据库架构

[英]TFS Database Architecture

I am building the backend for an application that will work with the TFS Object Model. 我正在为将与TFS对象模型一起使用的应用程序构建后端。 So far I have a simple design with two tables. 到目前为止,我有一个带有两个表的简单设计。 Instead of having a third table for the users, let's say dbo.Users , I want to work with the UserID column under dbo.UserPermissions in the database Tfs_DefaultCollection : 而不必为用户带来第三个表,让我们说dbo.Users ,我想和工作UserID柱下dbo.UserPermissions数据库Tfs_DefaultCollection

UserID: S-1-5-21-1081711537-3457464029-1495713236-1119 用户ID: S-1-5-21-1081711537-3457464029-1495713236-1119

I am wondering exactly where (which table, in which database) does TFS stores the Active Directory user information? 我想知道TFS到底将Active Directory用户信息存储在哪个位置(哪个表,哪个数据库中)? Any advice and pointers towards online documentation on MSDN would be greatly appreciated. 任何有关MSDN上在线文档的建议和指针将不胜感激。 My goal is to map a user with a WorkItemID in one of my tables without having to add a new User table. 我的目标是在一个表中映射一个具有WorkItemID的用户,而不必添加新的User表。

It is not supported, or recommended to work with the TFS tables directly. 不支持或建议直接使用TFS表。 Doing so may adversely impact the function and performance of the system. 这样做可能会对系统的功能和性能产生不利影响。 It is also likely that the schema will change in a future version. 该模式也有可能在将来的版本中更改。

However, if you want to go ahead anyway, you will find the tbl_security_identity_cache table in your tfs_configuration database useful. 但是,如果您仍然想继续,则在tfs_configuration数据库中会发现tbl_security_identity_cache表很有用。 It is where TFS syncs identities from AD too. 这也是TFS同步来自AD的身份的地方。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM