0
A
回答
0
這裏的答案
讓您窗口SID通過CMD控制檯執行
whoami/user
SQL查詢:
USE [YourDatabase]
DECLARE @USERSID uniqueidentifier, @WINDOWSSID nvarchar(119), @USERNAME
nvarchar(50)
SET @USERNAME = 'Domain\user'
SET @USERSID = newid()
SET @WINDOWSSID = 'Your SID'
INSERT INTO [dbo].[User]
([User Security ID],[User Name],[Full Name],[State],[Expiry Date],
[Windows Security ID],[Change Password],[License Type],
[Authentication Email])
VALUES
(@USERSID,@USERNAME,'',0,'1753-01-01 00:00:00.000',@WINDOWSSID,0,0,'')
INSERT INTO [dbo].[User Property]
([User Security ID],[Password],[Name Identifier],[Authentication Key],
[WebServices Key],[WebServices Key Expiry Date],[Authentication Object ID])
VALUES
(@USERSID,'','','','','1753-01-01 00:00:00.000','')
INSERT INTO [dbo].[Access Control]
([User Security ID],[Role ID],[Company Name])
VALUES
(@USERSID,'SUPER','')
GO
相關問題
- 1. 通過Web服務或API在Microsoft Dynamics NAV中創建訂單
- 2. 如何從Nav 2015生成Data Matrix Barcode?
- 3. Mobile Nav,通過JavaScript點擊
- 4. 在Microsoft Dynamics Nav 365中創建潛在客戶CURL
- 5. 如何在Yii2 bootstrap Nav小部件中創建鏈接模板
- 6. 如何使用LESS隱藏Bootstrap的nav和nav-pills類
- 7. 如何將sub-nav ul從main-nav ul中移出?
- 8. 如何禁用自動(通過數據切換啓用)nav-tab?
- 9. 懸停效果當用戶觸摸通過NAV元件滑動
- 10. Bootstrap令我困惑:<nav>,.nav,.navbar-nav,.navbar
- 11. 迭代通過無序列表(nav)
- 12. jQuery Isotope和Twitter Bootstraps nav nav-pills
- 13. 如何使ion-nav透明?
- 14. 在HTML5 + CSS中,是否是<nav class =「nav」>冗餘?
- 15. React應用中的Bootstrap nav
- 16. NAV Web Service如何通過C#更新數據?
- 17. 如何爲Microsoft動態導航/ Navision創建加載項nav/navision
- 18. 如何在sql查詢中創建對?
- 19. Bootstrap Condensed Nav
- 20. Responsive NAV IE
- 21. Ionic 2 - Nav undefined
- 22. React scroll nav
- 23. Bootstrap Responsive Nav Bar
- 24. Google Ventures Side Nav
- 25. HTML5 nav元素
- 26. Mobile slide push nav
- 27. Responsive Nav Bug
- 28. Nav float right
- 29. Twitter Bootstrap - Nav collapse
- 30. 如何在用戶提交時獲取nav-pils選擇?