IShareInfo2.SetPermissions Method
Assigns user permissions to a shared folder.
Namespace: Microsoft.HomeServer.SDK.Interop.v1
Assembly: Microsoft.HomeServer.SDK.Interop.v1 (in microsoft.homeserver.sdk.interop.v1.dll)
Usage
Syntax
'Declaration
Sub SetPermissions ( _
<InAttribute> perms As Array _
)
void SetPermissions (
[InAttribute] Array perms
)
void SetPermissions (
[InAttribute] Array^ perms
)
void SetPermissions (
/** @attribute InAttribute() */ Array perms
)
function SetPermissions (
perms : Array
)
Parameters
- perms
An array of WHSUserPermission structures that identify the user permissions to be assigned to the shared folder.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP
Target Platforms
Windows Home Server
See Also
Reference
IShareInfo2 Interface
IShareInfo2 Members
Microsoft.HomeServer.SDK.Interop.v1 Namespace