SftpAttributes.SetUserAndGroup Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9083)
SetUserAndGroup(Int32, Int32)
Sets user and group IDs.
Declaration
public void SetUserAndGroup(int userId, int groupId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | userId | User ID. |
Int32 | groupId | Group ID. |
SetUserAndGroup(String, String)
Sets user and group (only for SFTP v4).
Declaration
public void SetUserAndGroup(string user, string group)
Parameters
Type | Name | Description |
---|---|---|
String | user | User. |
String | group | Group. |