1 2 createprocsp_loginconfig3 @item varchar(30)=NULL/* specific config item to print */4 as5 6 /*
7 ** check if user has sso role, proc_role will also do auditing
8 ** if required. proc_role will also print error message if required.
9 */10 11 if(proc_role("sso_role")= 0)12 return(1)13 14 dbcc iseadmin("loginconfig",@item)15 16 /*
17 ** If there was an error, the specific message was already sent to client
18 ** within the iseadmin() module.
19 */20 if @@error != 0
21 return(1)22 23 return(0)24 /* end of sp_loginconfig */25