public SystemItem[] GetChildren(ItemIdentifier itemId) { //encrypt login and password string loginName = ""; string pass = ""; getloginAndPass(UserId, ref loginName, ref pass); string _url = getWSUrl(this.Url); RepositoryWebservice repo = new RepositoryWebservice(_url); var children = repo.GetChildren(itemId, loginName, pass); repo.Dispose(); return children; }