I'm trying to use FileManager to access a network share on behalf of the user using the app. We want to make sure that the user using the app belongs to an active directory group that has access to the share.
I'm at the point where we can retrieve a list of active directory groups that have access to the requested network folder using a PrincipalContext, and can verify that the current user belongs to one of the groups with access permissions.
However, it seems like this authorization takes ~2 minutes to complete, which makes the filemanager unusable by our users.
Is anyone using FileManager for something like this, and if so, do you have any recommendations for checking if the user has access to a network share?