Asking if User Is Member of Group Using Code

  • Thread starter Thread starter Casey
  • Start date Start date
C

Casey

Hi,

I want to use an If statement. With that If
statement I want to say:

If "Katy is a member of the Admins group" Then
Do this
Else
Do this
EndIf

The part that I need a code example of is enclosed in
the quotation marks as "Katy is a member of the Admins
group". I would appreciate any advice on what the code
would be to say that part of the statement.

Thanks,

Casey
 
I want to use an If statement. With that If
statement I want to say:

If "Katy is a member of the Admins group" Then
Do this
Else
Do this
EndIf

The part that I need a code example of is enclosed in
the quotation marks as "Katy is a member of the Admins
group". I would appreciate any advice on what the code
would be to say that part of the statement.

Download and read the Access Security FAQ. It contains the code to do just that,
and more. It is available at
http://support.microsoft.com/default.aspx?scid=kb;[LN];207793.
 
I received a KB Article is not available message. No
information found in that.
-----Original Message-----
I want to use an If statement. With that If
statement I want to say:

If "Katy is a member of the Admins group" Then
Do this
Else
Do this
EndIf

The part that I need a code example of is enclosed in
the quotation marks as "Katy is a member of the Admins
group". I would appreciate any advice on what the code
would be to say that part of the statement.

Download and read the Access Security FAQ. It contains the code to do just that,
and more. It is available at
http://support.microsoft.com/default.aspx?scid=kb; [LN];207793.

--
Bruce M. Thompson, Microsoft Access MVP
(e-mail address removed) (See the Access FAQ at http://www.mvps.org/access)within the newsgroups so that all might benefit.<<


.
 
I found it, I had left an extra period on the address
link(end of sentence period).

Thank you,

Casey
-----Original Message-----
I received a KB Article is not available message. No
information found in that.
-----Original Message-----
enclosed
in
the quotation marks as "Katy is a member of the Admins
group". I would appreciate any advice on what the code
would be to say that part of the statement.

Download and read the Access Security FAQ. It contains the code to do just that,
and more. It is available at
http://support.microsoft.com/default.aspx?scid=kb; [LN];207793.

--
Bruce M. Thompson, Microsoft Access MVP
(e-mail address removed) (See the Access FAQ at http://www.mvps.org/access)
NO Email Please. Keep all communications
within the newsgroups so that all might benefit.<<


.
.
 
Back
Top