How To Administer SQL Server Users from Visual FoxPro (189918)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft Data Access Components 2.5
This article was previously published under Q189918 SUMMARY
Using stored procedures on a SQL Server and the Visual FoxPro SQLEXEC()
function, it is possible to administer database users and groups from
within a Visual FoxPro program. The following sample code demonstrates how
to accomplish this.
REFERENCES
Transact-SQL Reference Help; search on: sp_adduser, sp_dropuser,
sp_addgroup, sp_dropgroup
(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by Mike
Stewart, Microsoft Corporation
Modification Type: | Minor | Last Reviewed: | 3/3/2005 |
---|
Keywords: | kbhowto kbSQLProg KB189918 |
---|
|