Shefinho
New member
- Local time
- Today, 22:48
- Joined
- Apr 29, 2010
- Messages
- 1
I have a database with user-level security and 2 user groups: Read-only Users and Full Data Users (apart from obligatory groups Admins and Users).
I have a program written in C# which uses the database. I would like to retrieve the group membership list for the logged on user. I tried to do it this way:
OleDbCommand cmd = new OleDbCommand("MSysUserMemberships <username>", connection);
cmd.CommandType = CommandType.StoredProcedure;
But I receive an error which says that there is no read permission for MSysUserMembership.
It is impossible to administer the work group info file (.mdw), because the Admin account doesn't have administrative rights, and it is not possible to log on as Engine.
However, when I open the .mdw file in Access, I am allowed to run the MSysUserMemberships query.
Is there maybe a 3rd party hack which removes read prohibition from MSysUserMemberships query?
I have a program written in C# which uses the database. I would like to retrieve the group membership list for the logged on user. I tried to do it this way:
OleDbCommand cmd = new OleDbCommand("MSysUserMemberships <username>", connection);
cmd.CommandType = CommandType.StoredProcedure;
But I receive an error which says that there is no read permission for MSysUserMembership.
It is impossible to administer the work group info file (.mdw), because the Admin account doesn't have administrative rights, and it is not possible to log on as Engine.
However, when I open the .mdw file in Access, I am allowed to run the MSysUserMemberships query.
Is there maybe a 3rd party hack which removes read prohibition from MSysUserMemberships query?