Re: Adding role to roles?



A couple of the limitations are that you can't add a fixed
database role to other roles - which is probably what you
are seeing. And the other would be that you can't create
circular roles - you can't add role1 to role2 if role2 is
already a member of role1.
You can create your own user defined roles and can add these
to fixed database roles. You can also add user defined roles
to other user defined roles.

-Sue

On Thu, 16 Feb 2006 08:17:08 -0800, "Mark"
<Mark@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Hello,

Is it possible to add a dbrole as a member or another dbrole? When I try
and add members to an existing role all I see are dbusers, but I've looked at
some other sample dbs and noticed what appeared to be dbroles as members of
other dbroles.

Any help would be greatly appreciated!
Thanks in advance.


.



Relevant Pages

  • RE: adding users to db fixed roles
    ... >Only members of the sysadmin fixed server role and the ... Role owners can execute sp_addrolemember ... to add a member to ... >database role can add users to any user-defined role. ...
    (microsoft.public.sqlserver.security)
  • RE: adding users to db fixed roles
    ... Only members of the sysadmin fixed server role and the db_owner fixed ... Role owners can execute sp_addrolemember to add a member to ... database role can add users to any user-defined role. ...
    (microsoft.public.sqlserver.security)
  • RE: Database Roles
    ... Thank you for using MSDN Managed Newsgroup Support. ... assign a database role to be a member of another database role. ... You can not assign a database role to be a member of another database role. ...
    (microsoft.public.sqlserver.security)