ExamNotes.net  -  IT certification portal

ForumsCertResearchTop sitesNewslettersFree email
HomeRegister


Exams Notes
Practice exams
Exam games
Questions by email
Online training
Training videos
College degrees
Boot camps
Book store
Links directory
Tell a friend
For webmasters




General discussions > Public newsgroups > microsoft.public.sqlserver.server > Determining if a login has administrator rights.

Show a Printable Version
Email This Page to Someone!
Receive updates to this thread



Author Determining if a login has administrator rights.
andrew powell
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Determining if a login has administrator rights.

select * from master..syslogins
where sysadmin = 1




>-----Original Message-----
>Is there any way to determine if a login has system

administrator rights?
>
>
>.
>

Report this post to a moderator

Old Post 08-05-02 03:23 PM
Reply w/Quote Edit/Delete Message IP: Logged
Vikrant V Dalwale [MS]
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
RE: Determining if a login has administrator rights.

Also to note,

sp_helpsrvrolemember 'sysadmin' gives the list of members in the sysadmin
role.


Thanks,

Vikrant Dalwale

Microsoft SQL Server Support Professional

This posting is provided "AS IS" with no warranties, and confers no rights.
Get secure ! For info, please visit http://www.microsoft.com/security.
Please reply to Newsgroups only.

--------------------
>Content-Class: urn:content-classes:message
>From: "andrew powell" <andy@paisleysoft.com>
>Sender: "andrew powell" <andy@paisleysoft.com>
>References: <ON3yTnIPCHA.2420@tkmsftngp11>
>Subject: Determining if a login has administrator rights.
>Date: Mon, 5 Aug 2002 07:21:26 -0700
>Lines: 13
>Message-ID: < 0bbe01c23c8b$61fb1200$37ef2ecf
@TKMSFTNGXA13>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="iso-8859-1"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Thread-Index: AcI8i2H4NL5YDXK9RJu7aNd9GD5ZMw
==
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
>Newsgroups: microsoft.public.sqlserver.server
>NNTP-Posting-Host: TKMSFTNGXA13 10.201.226.41
>Path: cpmsftngxa08!cpmsftngxa07
>Xref: cpmsftngxa08 microsoft.public.sqlserver.server:222790
>X-Tomcat-NG: microsoft.public.sqlserver.server
>
>select * from master..syslogins
>where sysadmin = 1
>
>
>
>
>>-----Original Message-----
>>Is there any way to determine if a login has system

>administrator rights?
>>
>>
>>.
>>

>


Report this post to a moderator

Old Post 08-07-02 03:23 AM
Reply w/Quote Edit/Delete Message IP: Logged
All times are GMT.
Post new thread   Post reply


Forum Jump:
Rate This Thread:
Forum Rules:
Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is OFF.
 

ExamNotes forum archive


Powered by: vBulletin 2.2.8
Copyright ©2000, Jelsoft Enterprises Limited.

  Free Braindumps | mcse braindumps