Re: how can a user who is in a role assign his role to another user?

From: Sue Hoegemeier (Sue_H_at_nomail.please)
Date: 04/27/04


Date: Tue, 27 Apr 2004 09:27:13 -0600

The only way I know to set the role owner is when you create
the role, specify the owner of the role in the second
argument for sp_addrole.
In terms of retrieving the owner, I don't remember there
being a direct way. I think it may be that the altuid in
sysusers is the uid for the owner of the role.

-Sue

On Tue, 27 Apr 2004 05:31:04 -0700, samuelzhu
<anonymous@discussions.microsoft.com> wrote:

>I create a role(eg. HighOperators), and add user 'ABC01' into it. 'ABC01' is not a member of the sysadmin fixed server role or the db_owner fixed database role or the db_securityadmin fixed database role, can he assign his role to another user?
>In SQL Server Books Online, it says " Role owners can execute sp_addrolemember to add a member to any SQL Server role they own". but I don't know how to set or get the a role's Owner.



Relevant Pages

  • Re: conflicting object names in sql server 2000
    ... The owner of the object will depend on the user ... On the local database server when it does the select * from ... she must specify the owner: ...
    (microsoft.public.sqlserver.server)
  • Re: logged in user cant see tables
    ... I assume I am connecting to the correct database, as when I select with the ... database with an employees table on my server). ... specify the the owner name. ... I just didn't expect I would HAVE to specify the ...
    (microsoft.public.sqlserver.security)
  • RE: Writing/reading files
    ... specify the share mode with other processes, for example, it can specify ... security operation must obey *trust* rule. ... That is if the owner does not ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: udev-071-0.FC4.2 does not seem to obey console.perms for pilot ttyUSB
    ... Sjoerd Mullender wrote: ... I didn't see a way in udev to specify that the owner of the file should ...
    (Fedora)
  • Re: Changing Default Names
    ... >>must specify the owner name when referencing the object. ... >>SQL Server MVP ... >>>>Is it possible the constraint has a different owner ...
    (microsoft.public.sqlserver.server)