>with exec sp_addapprole ... it is posible to create a new Application Role Security with TSQL.
>Bud I can't find any way to specify the rights for this role by TSQL.Jorg,
If you look at the documentation (Books Online) and type "application roles" in the index, you will get a page that discusses application roles and permissions.
Laterness,
Jon
Jon Rosenbaum
Devcon Drummer