grant statements to create userdefined role.

  • Need to create a user defined role with grant permissions for below .

     View Definition

     Execute all Function

     Grant View

     Grant Synonym

     dbo

     View Definition

    Not getting grant statements for above permissions.

    I mean like below.

    -----------------------------------------------------------------

    CREATE ROLE [Role1]

    GRANT EXECUTE ON SCHEMA ::dbo TO [Role1]

    -----------------------------------------------------------------

    Any help here .

  • I got for dbo(db_owner).

    ALTER AUTHORIZATION ON SCHEMA::[db_owner] TO [Role1]

    Any help for below grant permissions.

    View Definition

    ? Execute all Function

    ? Grant View

    ? Grant Synonym

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply