Partilhar via


Server.EnumWindowsUserInfo Method

Enumerates a list of information about all Windows users that have explicitly granted access to Microsoft SQL Server.

Remarks

Updated text:

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name Description
Server.EnumWindowsUserInfo ()
Enumerates a list of information about all Microsoft Windows users that have explicitly granted access to Microsoft SQL Server.
Server.EnumWindowsUserInfo (String)
Enumerates a list of information about all Microsoft Windows users that have explicitly granted access to the instance of Microsoft SQL Server.
Server.EnumWindowsUserInfo (String, Boolean)
Enumerates a list of information about all Microsoft Windows users that have explicitly granted access to the instance of Microsoft SQL Server and with the option to list all the permissions paths (groups) through which the user has been granted access to the instance of SQL Server.

See Also

Reference

Server Class
Server Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

How to: Use an Enumeration Method that Returns a DataTable Object in Visual Basic .NET
Calling Methods
Managing Servers

Change History

Release

History

New content:
  • Added code sample to the Example section.