PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.server > Re: Missing "Public" SQL Server 2005 role - but everything works fine.
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Re: Missing "Public" SQL Server 2005 role - but everything works fine.

Réponse
 
LinkBack Outils de la discussion
Vieux 30/03/2008, 22h13   #1
Michel A
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Missing "Public" SQL Server 2005 role - but everything works fine.


Hello,

It seems the Public role is working fine inside, but other things are
going wrong. The Public role appears under Server Roles. However, the
problem is that when I double click the Public icon (under Server
Roles), the Server Role Properties window should list all the logins
that are members of the Public role. However, none of these logins are
shown.

In addition, all of the stored procedures and functions that I have
tried do not work correctly for all logins. For example:

-- Doesn't work:
sp_srvrolepermission 'public'

-- works for the current login, but not for other logins:
SELECT is_srvrolemember('public')

-- Doesn't work:
SELECT is_srvrolemember('public', 'mary') --

Although the Is_SrvRoleMember function returned 0, meaning that Mary is
not a member of the Public role, I logged in using the Mary login and
succeeded even though Mary doesn't have any user in the database.

So, it seems that the Public role member is working properly internally
but the problem is with the stored procedures and functions that deal
with the server roles. And the second problem is with the SSMS because
it doesn't show the members of the Public role.

Michel


*** Sent via Developersdex http://www.developersdex.com ***
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 20h47.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,06594 seconds with 9 queries