using System; using System.Collections; using System.IO; using sscs.cache; using sscs.common; using sscs.constants; namespace sscs.common { internal class UnixUser : User { internal UnixUser() { } internal UnixUser(UserIdentifier unixUserId) { userId = unixUserId; secretStore = new SecretStore(this); } override internal void SetUserName(string username) { userName = username; } override internal string GetUserName() { return userName; } override internal string GetUserHomeDir() { uint uid = (uint)userId.GetUID(); return Mono.Unix.UnixUser.GetHomeDirectory(uid); } } }