Folks...
Im a newbie n hope some1 can help out here..Ive a VBA Application (Intranet) which Id need to check users role and authentication to enable/disable some components.
I created a COM Class so that I could expose some properties of the IPrincipal Interface on the .NET framework for the VBA to check the roles...more like implementing....
If Me.User.IsInRole("MTN_Grp") Then
....
If My.User.IsAuthenticated = True Then
......
The created COM Class builds perfectly...but cant figure out how to implement these on the VBA side or whether some more code is needed...Please check the attachment.
Any help will be much appreciated.
Tx
Im a newbie n hope some1 can help out here..Ive a VBA Application (Intranet) which Id need to check users role and authentication to enable/disable some components.
I created a COM Class so that I could expose some properties of the IPrincipal Interface on the .NET framework for the VBA to check the roles...more like implementing....
If Me.User.IsInRole("MTN_Grp") Then
....
If My.User.IsAuthenticated = True Then
......
The created COM Class builds perfectly...but cant figure out how to implement these on the VBA side or whether some more code is needed...Please check the attachment.
Any help will be much appreciated.
Tx
Attachments
Last edited by a moderator: