CSharpTest.Net
GrantFullControlForFile(String,WellKnownSidType,SecurityIdentifier) Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Utils Namespace > FileUtils Class > GrantFullControlForFile Method : GrantFullControlForFile(String,WellKnownSidType,SecurityIdentifier) Method

filepath
sidType
domain

Glossary Item Box

Grants the user FullControl for the file, returns true if modified, false if already present

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GrantFullControlForFile( _
   ByVal filepath As String, _
   ByVal sidType As WellKnownSidType, _
   ByVal domain As SecurityIdentifier _
) As Boolean
C# 
public static bool GrantFullControlForFile( 
   string filepath,
   WellKnownSidType sidType,
   SecurityIdentifier domain
)

Parameters

filepath
sidType
domain

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys