G
Guest
From within my code, I need to determine the "Roles" that a particular UserID
is subscribed to. For example, from within the SQL Query Analyzer, if I:
EXEC sp_helpuser 'userID'
the result set will have a row describing each "Role" that UserID belongs
to. However, I don't know how to get access to this result set from within my
VS 2003/2005 VB code. If I ExecuteNonQuery, I only get returned the number of
rows affected, not the actual rows.
From within VS 2003/2005 VB, how can I find out which "Roles" a particular
UserID belongs to?
is subscribed to. For example, from within the SQL Query Analyzer, if I:
EXEC sp_helpuser 'userID'
the result set will have a row describing each "Role" that UserID belongs
to. However, I don't know how to get access to this result set from within my
VS 2003/2005 VB code. If I ExecuteNonQuery, I only get returned the number of
rows affected, not the actual rows.
From within VS 2003/2005 VB, how can I find out which "Roles" a particular
UserID belongs to?