IS_MEMBER is improperly documented

In my opinion, the IS_MEMBER() function is not properly documented.

The issue is: If you are a sysadmin, then IS_MEMBER('custom_role') will ALWAYS return 0, regardless if you are member of 'custom_role' or not.

This is not clearly documented. We relied on the documentation, and now we need to rewrite stored procedures to handle the special case when someone is sysadmin.

https://msdn.microsoft.com/en-us/library/ms186271.aspx


July 27th, 2015 9:02am

I would suggest that you submit a bug on
https://connect.microsoft.com/sqlserver/feedback
The writers are often quite quick to react to doc bugs.

Free Windows Admin Tool Kit Click here and download it now
July 27th, 2015 5:19pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics