These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

Setting Permissions Programatically in c#

Setting a single permission is simpe "rootFolder1.Permissions = FileVistaPermissions.Full;" but how do you combine multiple permissions?

This gives a c# error.

rootFolder1.Permissions = FileVistaPermissions.Traverse + FileVistaPermissions.List;
Bob Moffa 7/18/2010 11:14 AM
Nevermind.  I got it.  Stupid me.  I was using the wrong operator.
Bob Moffa 7/18/2010 1:28 PM